using System; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; namespace System { /// Provides data for the event that is raised when there is an exception that is not handled in any application domain. /// 2 // Token: 0x020006BB RID: 1723 [ComVisible(true)] [Serializable] public class UnhandledExceptionEventArgs : EventArgs { /// 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. // Token: 0x0600410E RID: 16654 RVA: 0x000DD6BC File Offset: 0x000DB8BC public UnhandledExceptionEventArgs(object exception, bool isTerminating) { this.exception = exception; this.m_isTerminating = isTerminating; } /// Gets the unhandled exception object. /// The unhandled exception object. /// 2 // Token: 0x17000C02 RID: 3074 // (get) Token: 0x0600410F RID: 16655 RVA: 0x000DD6D4 File Offset: 0x000DB8D4 public object ExceptionObject { [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] get { return this.exception; } } /// Indicates whether the common language runtime is terminating. /// true if the runtime is terminating; otherwise, false. /// 2 // Token: 0x17000C03 RID: 3075 // (get) Token: 0x06004110 RID: 16656 RVA: 0x000DD6DC File Offset: 0x000DB8DC public bool IsTerminating { [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] get { return this.m_isTerminating; } } // Token: 0x04001A1B RID: 6683 private object exception; // Token: 0x04001A1C RID: 6684 private bool m_isTerminating; } }