This documentation is archived and is not being maintained.

TemplateControl.Error Event

Occurs when an unhandled exception is thrown.

[Visual Basic]
Public Event Error As EventHandler
[C#]
public event EventHandler Error;
[C++]
public: __event EventHandler* Error;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type EventArgs.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

TemplateControl Class | TemplateControl Members | System.Web.UI Namespace

Show: