DispatcherHooks.OperationStarted Event
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when an operation is invoked.
public:
event System::Windows::Threading::DispatcherHookEventHandler ^ OperationStarted;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event System.Windows.Threading.DispatcherHookEventHandler OperationStarted;
public event System.Windows.Threading.DispatcherHookEventHandler OperationStarted;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.OperationStarted : System.Windows.Threading.DispatcherHookEventHandler
member this.OperationStarted : System.Windows.Threading.DispatcherHookEventHandler
Public Custom Event OperationStarted As DispatcherHookEventHandler
- Attributes
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: