This documentation is archived and is not being maintained.

UnhandledExceptionEventArgs Class

Provides data for the event that is raised when there is an exception that is not handled by the application domain.

For a list of all members of this type, see UnhandledExceptionEventArgs Members.


[Visual Basic]
Public Class UnhandledExceptionEventArgs
   Inherits EventArgs
public class UnhandledExceptionEventArgs : EventArgs
public __gc class UnhandledExceptionEventArgs : public EventArgs
class UnhandledExceptionEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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.


Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

UnhandledExceptionEventArgs Members | System Namespace | UnhandledExceptionEventHandler | Events and Delegates