DispatcherHooks.OperationPosted 事件

定義

發生於將作業張貼至發送器時。

public:
 event System::Windows::Threading::DispatcherHookEventHandler ^ OperationPosted;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event System.Windows.Threading.DispatcherHookEventHandler OperationPosted;
public event System.Windows.Threading.DispatcherHookEventHandler OperationPosted;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.OperationPosted : System.Windows.Threading.DispatcherHookEventHandler 
member this.OperationPosted : System.Windows.Threading.DispatcherHookEventHandler 
Public Custom Event OperationPosted As DispatcherHookEventHandler 

事件類型

DispatcherHookEventHandler
屬性

備註

一般而言,這個事件會在 呼叫 BeginInvoke 期間發生。

如果指定以外的任何優先順序 Send ,或目的地發送器是由不同執行緒所擁有,就會在呼叫 Invoke 期間發生此事件。

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

適用於

另請參閱