Error Events:
Another way of excpetion handling is through web object’s built-in error events.
Error events allow exception handling for an entire object in a single, centralized location – the error event procedure
When an unhandled exception occurs in a web application, ASP.net fires the following error events:
Page_Error: Errors occuring on the page, this event procedure resides in the Web form
Global_Error: Exception occurring at Application level. Resides in Global.asax
Appication_Error: Exception occurring at Application level. Resides in Global.asax
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment