Edit

Share via


LoginNameDesigner.GetErrorDesignTimeHtml(Exception) Method

Definition

Provides the markup that is used to render the associated control at design time when an error has occurred.

protected:
 override System::String ^ GetErrorDesignTimeHtml(Exception ^ e);
protected override string GetErrorDesignTimeHtml (Exception e);
override this.GetErrorDesignTimeHtml : Exception -> string
Protected Overrides Function GetErrorDesignTimeHtml (e As Exception) As String

Parameters

e
Exception

The Exception that was thrown.

Returns

A string that contains the markup used to render the associated LoginName at design time after an error has occurred.

Remarks

If an error occurs in trying to display the design-time view of the LoginName control, this method returns the HTML markup to display a placeholder that contains the type name, the control name, and one or more messages describing the error.

Applies to

See also