WindowsFormsSynchronizationContext.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.
Répartit un message asynchrone dans un contexte de synchronisation.
public:
override void Post(System::Threading::SendOrPostCallback ^ d, System::Object ^ state);
public override void Post(System.Threading.SendOrPostCallback d, 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é SendOrPostCallback à appeler.
- state
- Object
Objet transmis au délégué.
Remarques
La Post méthode démarre une requête asynchrone pour publier un message.
S’applique à
Voir aussi
- SynchronizationContext
- Vue d’ensemble du modèle asynchrone basé sur les événements