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
,或目的地發送器是由不同的執行緒所擁有,也可能會造成此事件。
任何執行緒都可以張貼作業,因此任何執行緒都可以引發此事件。