DispatcherHooks.OperationStarted Event

Definition

Occurs when an operation is invoked.

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

Event Type

Attributes

Remarks

Typically, this event is due to the BeginInvoke API, but the Invoke API can also cause this event if any priority other than DispatcherPriority.Send is specified, or if the destination dispatcher is owned by a different thread.

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

Applies to

Product Versions
.NET Framework 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