DispatcherUnhandledExceptionEventHandler 代理人

定義

UnhandledException イベントを処理するメソッドを表します。

public delegate void DispatcherUnhandledExceptionEventHandler(System::Object ^ sender, DispatcherUnhandledExceptionEventArgs ^ e);
public delegate void DispatcherUnhandledExceptionEventHandler(object sender, DispatcherUnhandledExceptionEventArgs e);
type DispatcherUnhandledExceptionEventHandler = delegate of obj * DispatcherUnhandledExceptionEventArgs -> unit
Public Delegate Sub DispatcherUnhandledExceptionEventHandler(sender As Object, e As DispatcherUnhandledExceptionEventArgs)

パラメーター

sender
Object

イベントのソース。

e
DispatcherUnhandledExceptionEventArgs

イベントのデータ。

注釈

UnhandledException イベントは、Dispatcherを使用して実行されるコードが、処理されない例外をスローするときに発生します。

UnhandledExceptionFilter イベントは、UnhandledException イベントを発生させないようにする手段を提供します。 UnhandledExceptionFilter イベントが最初に発生し、RequestCatchDispatcherUnhandledExceptionFilterEventArgsfalse に設定されている場合、UnhandledException イベントは発生しません。

拡張メソッド

名前 説明
GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象

こちらもご覧ください