DispatcherHooks.OperationPosted Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsqu’une opération est publiée sur le répartiteur.
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
Type d’événement
- Attributs
Remarques
En règle générale, cet événement se produit pendant un appel à BeginInvoke.
Cet événement peut se produire lors d’un appel vers Invoke une priorité autre que Send celle spécifiée, ou si le répartiteur de destination appartient à un autre thread.
N’importe quel thread peut publier des opérations ; par conséquent, cet événement peut être déclenché par n’importe quel thread.