SynchronizationContext.Post(SendOrPostCallback, Object) Méthode

Définition

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
SendOrPostCallback

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 à