DispatcherSynchronizationContext.Post(SendOrPostCallback, Object) Méthode

Définition

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
SendOrPostCallback

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.

S’applique à