Design Pattern Framework 3.5
Application_Error Method (sender, e)
Patterns-In-Action! Application ► ASPNETWebApplication ► Global ► Application_Error(Object, EventArgs)
This is the last-resort exception handler.
It uses te logging infrastructure to log the error details.
The application will then be redirected according to the
customErrors configuration in web.config.
Declaration Syntax
Remarks
Logging is commented out. Be sure the application has privilege to
to write to a file, send email, or add to the event log. Only then
turn logging on.