DispatcherHooks.OperationStarted 活動
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當操作被啟動時發生。
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
事件類型
- 屬性
備註
通常此事件由 API 引起 BeginInvoke ,但 Invoke 若指定其他優先順序 DispatcherPriority.Send ,或目的地調度器屬於不同執行緒,API 也可能引發此事件。
任何執行緒都可以發佈操作,因此這個事件可以被任何執行緒提出。