RuntimeInfrastructure mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ] 1.0.5000.0 2.0.0.0 4.0.0.0 All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. System.EventArgs System.Runtime.InteropServices.ComVisible(true)

provides access to the exception object and a flag indicating whether the common language runtime is terminating. The is one of the parameters passed into for the event.

For more information about event handler delegates, see [<topic://cpconEventsDelegates>].

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

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  This constructor initializes the property using , and the property using .

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

  The exception that is not handled.
  true if the runtime is terminating; otherwise, false.
  0
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  get: System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)
  System.Object

  A , typically a , that is the cause of the current event.

  This property is read-only.

  Gets the unhandled exception object.

  0
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  get: System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)
  System.Boolean

  if the system will end the current process as a result of the current unhandled exception; otherwise, .

  Beginning with the .NET Framework version 2.0, this property returns true for most unhandled exceptions, unless an application compatibility flag is used to revert to the behavior of versions 1.0 and 1.1. The reason is that most unhandled exceptions in threads, including thread pool threads, are allowed to proceed naturally, which normally results in termination of the application. For more information, including a list of cases in which the runtime does not terminate, see Exceptions in Managed Threads.

  ## Version Information

  The following applies to the .NET Framework versions 1.0 and 1.1: This property returns true when an exception is received in, but not handled by, an application's main thread. This property also returns true if an unmanaged thread is executing managed code and receives an unhandled exception. Finally, this property returns false for thread pool threads and managed threads created by an application, because versions 1.0 and 1.1 catch unhandled exceptions in such threads and ignore them.

  Indicates whether the common language runtime is terminating.

  0
0