UnhandledExceptionEventArgs 類別

定義

提供 My.Application.UnhandledException 事件的資料。

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

備註

UnhandledException 實作 Visual Basic 應用程式模型的應用程式中發生未處理的例外狀況時,就會發生此事件。 如需詳細資訊,請參閱 Visual Basic應用程式模型概觀

UnhandledExceptionEventArgs 包含 Exception 發生的 ,並指出應用程式是否應該在結束例外狀況處理程式時結束。

建構函式

UnhandledExceptionEventArgs(Boolean, Exception)

初始化 UnhandledExceptionEventArgs 類別的新執行個體。

屬性

Exception

取得發生的 Exception

(繼承來源 ThreadExceptionEventArgs)
ExitApplication

指出應用程式是否應在結束例外狀況處理常式時結束。

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱