แก้ไข

แชร์ผ่าน


DispatcherHooks.OperationPosted Event

Definition

Occurs when an operation is posted to the dispatcher.

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 

Event Type

Attributes

Remarks

Typically, this event occurs during a call to BeginInvoke.

This event can occur during a call to Invoke if any priority other than Send is specified, or if the destination dispatcher is owned by a different thread.

Any thread can post operations; therefore, this event can be raised by any thread.

Applies to

See also