UnhandledExceptionEventArgs 類別

定義

提供在任何應用程式定義域中有未處理的例外狀況時所引發之事件的資料。

public ref class UnhandledExceptionEventArgs : EventArgs
public class UnhandledExceptionEventArgs : EventArgs
[System.Serializable]
public class UnhandledExceptionEventArgs : EventArgs
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class UnhandledExceptionEventArgs : EventArgs
type UnhandledExceptionEventArgs = class
    inherit EventArgs
[<System.Serializable>]
type UnhandledExceptionEventArgs = class
    inherit EventArgs
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UnhandledExceptionEventArgs = class
    inherit EventArgs
Public Class UnhandledExceptionEventArgs
Inherits EventArgs
繼承
UnhandledExceptionEventArgs
屬性

備註

UnhandledExceptionEventArgs 提供例外狀況物件的存取權,以及指出 Common Language Runtime 是否終止的旗標。 UnhandledExceptionEventArgs是針對 事件傳遞至 UnhandledExceptionEventHandlerAppDomain.UnhandledException 的其中一個參數。

如需事件處理程式委派的詳細資訊,請參閱 處理和引發事件

建構函式

UnhandledExceptionEventArgs(Object, Boolean)

使用例外狀況物件和 Common Language Runtime 終止 (Termination) 旗標,初始化 UnhandledExceptionEventArgs 類別的新執行個體。

屬性

ExceptionObject

取得未處理的例外狀況物件。

IsTerminating

取得值,這個值表示 Common Language Runtime 是否正在終止。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱