共用方式為


DispatcherHookEventHandler 代理人

定義

表示將處理 DispatcherHooks 相關事件的方法。

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

參數

sender
Object

事件的來源。

e
DispatcherHookEventArgs

事件資料。

備註

此委派會處理下列事件:

DispatcherHooks.OperationPriorityChanged

DispatcherHooks.OperationPosted

DispatcherHooks.OperationCompleted

DispatcherHooks.OperationAborted

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

適用於