Edit

Share via


UnhandledExceptionEventArgs Class

Definition

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

public ref class UnhandledExceptionEventArgs : EventArgs
public class UnhandledExceptionEventArgs : EventArgs
[System.Serializable]
public class UnhandledExceptionEventArgs : EventArgs
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class UnhandledExceptionEventArgs : EventArgs
type UnhandledExceptionEventArgs = class
    inherit EventArgs
[<System.Serializable>]
type UnhandledExceptionEventArgs = class
    inherit EventArgs
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UnhandledExceptionEventArgs = class
    inherit EventArgs
Public Class UnhandledExceptionEventArgs
Inherits EventArgs
Inheritance
UnhandledExceptionEventArgs
Attributes

Remarks

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.

Constructors

UnhandledExceptionEventArgs(Object, Boolean)

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

Properties

ExceptionObject

Gets the unhandled exception object.

IsTerminating

Gets a value that indicates whether the common language runtime is terminating.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also