FirstChanceExceptionEventArgs(Exception) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化該類別的新實例 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 它。
備註
此建構子是由通用語言執行時呼叫,而非應用程式程式碼。