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.
The event handler receives an argument of type EventArgs.
The exception that raises the Error event can be accessed by a call to GetLastError method. If your application generates custom error output, suppress the default error message generated by ASP.NET by a call to the ClearError method.
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family