WebFormsRootDesigner.GenerateErrorDesignTimeHtml Method
.NET Framework 3.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
Not applicable.
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.Community Additions
ADD
Show: