Rediger

Del via


WebFormsRootDesigner.GenerateErrorDesignTimeHtml Method

Definition

Generates HTML markup that is used to display an error message at design time by using the specified control, exception, and message.

public:
 virtual System::String ^ GenerateErrorDesignTimeHtml(System::Web::UI::Control ^ control, Exception ^ e, System::String ^ errorMessage);
public virtual string GenerateErrorDesignTimeHtml (System.Web.UI.Control control, Exception e, string errorMessage);
abstract member GenerateErrorDesignTimeHtml : System.Web.UI.Control * Exception * string -> string
override this.GenerateErrorDesignTimeHtml : System.Web.UI.Control * Exception * string -> string
Public Overridable Function GenerateErrorDesignTimeHtml (control As Control, e As Exception, errorMessage As String) As String

Parameters

control
Control

The control that raised the exception.

-or-

null.

e
Exception

The exception.

-or-

null.

errorMessage
String

A message to add to the exception message.

-or-

An empty string ("").

Returns

HTML markup for a control and exception information.

Applies to

See also