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 它。

備註

此建構子是由通用語言執行時呼叫,而非應用程式程式碼。

適用於