UnhandledExceptionEventArgs(Object, Boolean) Constructor

Definition

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

public:
 UnhandledExceptionEventArgs(System::Object ^ exception, bool isTerminating);
public UnhandledExceptionEventArgs (object exception, bool isTerminating);
new UnhandledExceptionEventArgs : obj * bool -> UnhandledExceptionEventArgs
Public Sub New (exception As Object, isTerminating As Boolean)

Parameters

exception
Object

The exception that is not handled.

isTerminating
Boolean

true if the runtime is terminating; otherwise, false.

Applies to