WindowsFormsSynchronizationContext.Post(SendOrPostCallback, Object) Méthode

Définition

Distribue un message asynchrone à 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);
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é SendOrPostCallback à appeler.

state
Object

Objet passé au délégué.

Remarques

La Post méthode démarre une requête asynchrone pour publier un message.

S’applique à

Voir aussi