UnhandledExceptionEventArgs 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为以下情况下引发的事件提供数据:存在一个不是在任何应用程序域中处理的异常。
public ref class UnhandledExceptionEventArgs : EventArgs
C#
public class UnhandledExceptionEventArgs : EventArgs
C#
[System.Serializable]
public class UnhandledExceptionEventArgs : EventArgs
C#
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class UnhandledExceptionEventArgs : EventArgs
type UnhandledExceptionEventArgs = class
inherit EventArgs
[<System.Serializable>]
type UnhandledExceptionEventArgs = class
inherit EventArgs
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UnhandledExceptionEventArgs = class
inherit EventArgs
Public Class UnhandledExceptionEventArgs
Inherits EventArgs
- 继承
- 属性
UnhandledExceptionEventArgs 提供对异常对象的访问,以及指示公共语言运行时是否终止的标志。 UnhandledExceptionEventArgs是为 事件传入UnhandledExceptionEventHandlerAppDomain.UnhandledException的参数之一。
有关事件处理程序委托的详细信息,请参阅 处理和引发事件。
Unhandled |
使用异常对象和公共语言运行时终止标志初始化 UnhandledExceptionEventArgs 类的新实例。 |
Exception |
获取未处理的异常对象。 |
Is |
获取一个值,该值指示公共语言运行时是否正在终止。 |
Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
作为默认哈希函数。 (继承自 Object) |
Get |
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
创建当前 Object 的浅表副本。 (继承自 Object) |
To |
返回表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |