DispatcherSynchronizationContext.Post(SendOrPostCallback, Object) Méthode
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.
Appelle le rappel dans le contexte de synchronisation de manière asynchrone.
public:
override void Post(System::Threading::SendOrPostCallback ^ d, System::Object ^ state);
public override void Post(System.Threading.SendOrPostCallback d, object state);
override this.Post : System.Threading.SendOrPostCallback * obj -> unit
Public Overrides Sub Post (d As SendOrPostCallback, state As Object)
Paramètres
Délégué à appeler.
- state
- Object
Objet transmis au délégué.
Exceptions
d a la valeur null.
Remarques
Le délégué est placé dans la file d’attente du répartiteur en priorité .Normal
Post démarre une requête asynchrone pour publier un message.