UnhandledExceptionEventArgs(Object, Boolean) 构造函数

定义

使用异常对象和公共语言运行时终止标志初始化类的新实例 UnhandledExceptionEventArgs

public:
 UnhandledExceptionEventArgs(System::Object ^ exception, bool isTerminating);
public UnhandledExceptionEventArgs(object exception, bool isTerminating);
new UnhandledExceptionEventArgs : obj * bool -> UnhandledExceptionEventArgs
Public Sub New (exception As Object, isTerminating As Boolean)

参数

exception
Object

未处理的异常。

isTerminating
Boolean

true 如果运行时正在终止,则为否则,为 false.

适用于