FirstChanceExceptionEventArgs(Exception) 构造函数

定义

使用指定的异常初始化类的新实例 FirstChanceExceptionEventArgs

public:
 FirstChanceExceptionEventArgs(Exception ^ exception);
public FirstChanceExceptionEventArgs(Exception exception);
new System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs : Exception -> System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs
Public Sub New (exception As Exception)

参数

exception
Exception

刚刚由托管代码引发的异常,事件将对其进行 UnhandledException 检查。

注解

此构造函数由公共语言运行时而不是应用程序代码调用。

适用于