HTML markup that contains the specified errorMessage and e.
Use the ControlDesigner.CreateErrorDesignTimeHtml(string, Exception) method to provide simple HTML markup that can be used to display error and exception details for a control at design time. The value for errorMessage specifies a localized string that is displayed to the user of the control at design time.
The System.Web.UI.Design.ControlDesigner class implementation of the ControlDesigner.CreateErrorDesignTimeHtml(string, Exception) method returns a table with two rows, as follows:
The first row contains the type name and site name for the System.ComponentModel.Design.ComponentDesigner.Component property of the System.Web.UI.Design.ControlDesignerobject.
The second row contains the input error message and the Exception.Message string of the exception.
To generate HTML markup for an error message without specifying an exception, use the ControlDesigner.CreateErrorDesignTimeHtml(string) overload. To generate HTML markup for an exception without specifying a localized error message, use the ControlDesigner.GetErrorDesignTimeHtml(Exception) method.