DispatcherUnhandledExceptionFilterEventArgs 類別

定義

提供 DispatcherUnhandledExceptionFilter 事件的資料。

public ref class DispatcherUnhandledExceptionFilterEventArgs sealed : System::Windows::Threading::DispatcherEventArgs
public sealed class DispatcherUnhandledExceptionFilterEventArgs : System.Windows.Threading.DispatcherEventArgs
type DispatcherUnhandledExceptionFilterEventArgs = class
    inherit DispatcherEventArgs
Public NotInheritable Class DispatcherUnhandledExceptionFilterEventArgs
Inherits DispatcherEventArgs
繼承
DispatcherUnhandledExceptionFilterEventArgs

備註

UnhandledExceptionFilter 程式碼透過 Dispatcher 擲回未處理的例外狀況時,就會發生此事件。

事件 UnhandledExceptionFilter 提供一種方法來不引發 UnhandledException 事件。 事件 UnhandledExceptionFilter 會先引發,如果 RequestCatch 上的 DispatcherUnhandledExceptionFilterEventArgs 設定為 falseUnhandledException 則不會引發事件。

屬性

Dispatcher

與這個事件關聯的 Dispatcher

(繼承來源 DispatcherEventArgs)
Exception

取得使用發送器執行程式碼時引發的例外狀況。

RequestCatch

取得或設定值,這個值表示是否應攔截例外狀況並呼叫事件處理常式。

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱