UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs 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
[System.Runtime.InteropServices.ComVisible(true)]
public class UnhandledExceptionEventArgs : EventArgs
type UnhandledExceptionEventArgs = class
    inherit EventArgs
Public Class UnhandledExceptionEventArgs
Inherits EventArgs
Inheritance
UnhandledExceptionEventArgsUnhandledExceptionEventArgsUnhandledExceptionEventArgsUnhandledExceptionEventArgs
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) UnhandledExceptionEventArgs(Object, Boolean) UnhandledExceptionEventArgs(Object, Boolean) UnhandledExceptionEventArgs(Object, Boolean)

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

Properties

ExceptionObject ExceptionObject ExceptionObject ExceptionObject

Gets the unhandled exception object.

IsTerminating IsTerminating IsTerminating IsTerminating

Indicates whether the common language runtime is terminating.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also