System Namespace
Provides data for the event that is raised when there is an exception that is not handled by the application domain.
UnhandledExceptionEventArgs provides access to the exception object and a flag indicating whether the common language runtime is terminating. The UnhandledExceptionEventArgs is one of the parameters passed into UnhandledExceptionEventHandler.
For more information about event handler delegates, see Events and Delegates.
UnhandledExceptionEventHandler