Share via


DispatcherHooks.OperationStarted Evento

Definição

Ocorre quando uma operação é invocada.

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 

Tipo de evento

DispatcherHookEventHandler
Atributos

Comentários

Normalmente, esse evento é devido à BeginInvoke API, mas a Invoke API também pode causar esse evento se qualquer prioridade diferente de DispatcherPriority.Send for especificada ou se o dispatcher de destino pertencer a um thread diferente.

Qualquer thread pode postar operações, para que esse evento possa ser gerado por qualquer thread.

Aplica-se a