DispatcherHooks.OperationPosted Event

Definition

Occurs when an operation is posted to the dispatcher.

C#
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event System.Windows.Threading.DispatcherHookEventHandler OperationPosted;
C#
public event System.Windows.Threading.DispatcherHookEventHandler OperationPosted;

Event Type

Attributes

Remarks

Typically, this event occurs during a call to BeginInvoke.

This event can occur during a call to Invoke if any priority other than Send is specified, or if the destination dispatcher is owned by a different thread.

Any thread can post operations; therefore, this event can be raised by any thread.

Applies to

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also