Share via


UnhandledExceptionEventArgs(Object, Boolean) 建構函式

定義

使用例外狀況物件和 Common Language Runtime 終止 (Termination) 旗標,初始化 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

適用於