SynchronizationContext.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.
En cas de substitution dans une classe dérivée, répartit un message asynchrone dans un contexte de synchronisation.
public:
virtual void Post(System::Threading::SendOrPostCallback ^ d, System::Object ^ state);
public virtual void Post(System.Threading.SendOrPostCallback d, object state);
abstract member Post : System.Threading.SendOrPostCallback * obj -> unit
override this.Post : System.Threading.SendOrPostCallback * obj -> unit
Public Overridable 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.