This documentation is archived and is not being maintained.

UnhandledExceptionEventArgs Constructor

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

[Visual Basic]
Public Sub New( _
   ByVal exception As Object, _
   ByVal isTerminating As Boolean _
)
[C#]
public UnhandledExceptionEventArgs(
   object exception,
 bool isTerminating
);
[C++]
public: UnhandledExceptionEventArgs(
   Object* exception,
 bool isTerminating
);
[JScript]
public function UnhandledExceptionEventArgs(
   exception : Object,
 isTerminating : Boolean
);

Parameters

exception
The exception that is not handled.
isTerminating
true if the runtime is terminating; otherwise, false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

UnhandledExceptionEventArgs Class | UnhandledExceptionEventArgs Members | System Namespace

Show: