WebFormsRootDesigner.GenerateErrorDesignTimeHtml Method

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

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public:
virtual String^ GenerateErrorDesignTimeHtml (
	Control^ control, 
	Exception^ e, 
	String^ errorMessage
)
public String GenerateErrorDesignTimeHtml (
	Control control, 
	Exception e, 
	String errorMessage
)
public function GenerateErrorDesignTimeHtml (
	control : Control, 
	e : Exception, 
	errorMessage : String
) : String
Not applicable.

Parameters

control

The control that raised the exception.

-or-

a null reference (Nothing in Visual Basic).

e

The exception.

-or-

a null reference (Nothing in Visual Basic).

errorMessage

A message to add to the exception message.

-or-

An empty string (“”).

Return Value

HTML markup for a control and exception information.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: