共用方式為


DispatcherHooks.OperationStarted 事件

定義

在叫用作業時發生。

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 

事件類型

DispatcherHookEventHandler
屬性

備註

一般而言,此事件是因為 API 所造成 BeginInvoke ,但 Invoke 如果指定以外的任何優先順序 DispatcherPriority.Send ,或目的地發送器是由不同的執行緒所擁有,也可能會造成此事件。

任何執行緒都可以張貼作業,因此任何執行緒都可以引發此事件。

適用於