WebFormsRootDesigner.GenerateErrorDesignTimeHtml Method (Control, Exception, String)
.NET Framework (current version)
Generates HTML markup that is used to display an error message at design time by using the specified control, exception, and message.
Assembly: System.Design (in System.Design.dll)
abstract GenerateErrorDesignTimeHtml : control:Control * e:Exception * errorMessage:string -> string override GenerateErrorDesignTimeHtml : control:Control * e:Exception * errorMessage:string -> string
Parameters
- control
-
Type:
System.Web.UI.Control
The control that raised the exception.
-or-
null.
- e
-
Type:
System.Exception
The exception.
-or-
null.
- errorMessage
-
Type:
System.String
A message to add to the exception message.
-or-
An empty string ("").
.NET Framework
Available since 2.0
Available since 2.0
Show: