Edit

Bagikan melalui


DispatcherHookEventHandler Delegate

Definition

Represents the method that will handle DispatcherHooks related events.

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)

Parameters

sender
Object

The source of the event.

e
DispatcherHookEventArgs

The event data.

Remarks

This delegate handles the following events:

DispatcherHooks.OperationPriorityChanged

DispatcherHooks.OperationPosted

DispatcherHooks.OperationCompleted

DispatcherHooks.OperationAborted

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to