WebFormsRootDesigner.GenerateErrorDesignTimeHtml Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
Generates HTML markup that is used to display an error message at design time by using the specified control, exception, and message.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public: virtual String^ GenerateErrorDesignTimeHtml ( Control^ control, Exception^ e, String^ errorMessage )
public String GenerateErrorDesignTimeHtml ( Control control, Exception e, String errorMessage )
public function GenerateErrorDesignTimeHtml ( control : Control, e : Exception, errorMessage : String ) : String
Parameters
- control
The control that raised the exception.
-or-
a null reference (Nothing in Visual Basic).
- e
The exception.
-or-
a null reference (Nothing in Visual Basic).
- errorMessage
A message to add to the exception message.
-or-
An empty string (“”).
Return Value
HTML markup for a control and exception information.Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: