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

Managed 程式碼剛擲回且將由 UnhandledException 事件檢查的例外狀況。

備註

此建構函式是由 Common Language Runtime 呼叫,而不是由應用程式程式代碼呼叫。

適用於