mscorlib(4.0.0.0) API with additions
System.UnhandledExceptionEventArgs Class Reference

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

Inheritance diagram for System.UnhandledExceptionEventArgs:
[legend]
Collaboration diagram for System.UnhandledExceptionEventArgs:
[legend]

Public Member Functions

 UnhandledExceptionEventArgs (object exception, bool isTerminating)
 Initializes a new instance of the T:System.UnhandledExceptionEventArgs class with the exception object and a common language runtime termination flag. More...
 
- Public Member Functions inherited from System.EventArgs
 EventArgs ()
 Initializes a new instance of the T:System.EventArgs class. More...
 

Properties

object ExceptionObject [get]
 Gets the unhandled exception object. More...
 
bool IsTerminating [get]
 Indicates whether the common language runtime is terminating. More...
 

Additional Inherited Members

- Static Public Attributes inherited from System.EventArgs
static readonly EventArgs Empty = new EventArgs()
 Provides a value to use with events that do not have event data. More...
 

Detailed Description

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

Definition at line 9 of file UnhandledExceptionEventArgs.cs.

Constructor & Destructor Documentation

◆ UnhandledExceptionEventArgs()

System.UnhandledExceptionEventArgs.UnhandledExceptionEventArgs ( object  exception,
bool  isTerminating 
)

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

Parameters
exceptionThe exception that is not handled.
isTerminatingtrue if the runtime is terminating; otherwise, false.

Definition at line 42 of file UnhandledExceptionEventArgs.cs.

Property Documentation

◆ ExceptionObject

object System.UnhandledExceptionEventArgs.ExceptionObject
get

Gets the unhandled exception object.

Returns
The unhandled exception object.

Definition at line 18 of file UnhandledExceptionEventArgs.cs.

◆ IsTerminating

bool System.UnhandledExceptionEventArgs.IsTerminating
get

Indicates whether the common language runtime is terminating.

Returns
true if the runtime is terminating; otherwise, false.

Definition at line 30 of file UnhandledExceptionEventArgs.cs.


The documentation for this class was generated from the following file: