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)

获取指示指定委托表示的方法的对象。

适用于