mscorlib(4.0.0.0) API with additions
UnhandledExceptionEventArgs.cs
3 
4 namespace System
5 {
8  [ComVisible(true)]
10  {
11  private object _Exception;
12 
13  private bool _IsTerminating;
14 
17  public object ExceptionObject
18  {
19  [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
20  get
21  {
22  return _Exception;
23  }
24  }
25 
29  public bool IsTerminating
30  {
31  [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
32  get
33  {
34  return _IsTerminating;
35  }
36  }
37 
42  public UnhandledExceptionEventArgs(object exception, bool isTerminating)
43  {
44  _Exception = exception;
45  _IsTerminating = isTerminating;
46  }
47  }
48 }
Definition: __Canon.cs:3
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: EventArgs.cs:9
Cer
Specifies a method's behavior when called within a constrained execution region.
Definition: Cer.cs:5
Provides data for the event that is raised when there is an exception that is not handled in any appl...
bool IsTerminating
Indicates whether the common language runtime is terminating.
UnhandledExceptionEventArgs(object exception, bool isTerminating)
Initializes a new instance of the T:System.UnhandledExceptionEventArgs class with the exception objec...
object ExceptionObject
Gets the unhandled exception object.
Specifies that the class can be serialized.
Consistency
Specifies a reliability contract.
Definition: Consistency.cs:5
Exposes the public members of the T:System.Exception class to unmanaged code.
Definition: _Exception.cs:12