System.Web.UI.Design.ControlDesigner.GetErrorDesignTimeHtml Method

Retrieves the HTML markup that provides information about the specified exception.

Syntax

protected virtual string GetErrorDesignTimeHtml (Exception e)

Parameters

e
The exception that occurred.

Returns

The design-time HTML markup for the specified exception.

Remarks

The ControlDesigner.GetErrorDesignTimeHtml(Exception) method is typically called, if an exception is thrown in the erload:System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml method.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0