Redigera

Dela via


BaseDataBoundControlDesigner.GetErrorDesignTimeHtml(Exception) Method

Definition

Provides the markup that is used to render the 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

The markup used to render the control at design time when an error has occurred.

Remarks

The error design-time control renders as a placeholder that contains the type name, the control name, and a message describing the error.

Applies to

See also