UnhandledExceptionEventArgs Class
TOC
Collapse the table of content
Expand the table of content

UnhandledExceptionEventArgs Class

 

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

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.EventArgs
    System.UnhandledExceptionEventArgs

[SerializableAttribute]
[ComVisibleAttribute(true)]
public class UnhandledExceptionEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodUnhandledExceptionEventArgs(Object, Boolean)

Initializes a new instance of the UnhandledExceptionEventArgs class with the exception object and a common language runtime termination flag.

NameDescription
System_CAPS_pubpropertyExceptionObject

Gets the unhandled exception object.

System_CAPS_pubpropertyIsTerminating

Indicates whether the common language runtime is terminating.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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 the AppDomain.UnhandledException event.

For more information about event handler delegates, see Handling and Raising Events.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

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

Return to top
Show:
© 2016 Microsoft