Share via


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 事件检查。

注解

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

适用于