SynchronizationContext.Send(SendOrPostCallback, Object) Méthode

Définition

En cas de substitution dans une classe dérivée, répartit un message synchrone dans un contexte de synchronisation.

public:
 virtual void Send(System::Threading::SendOrPostCallback ^ d, System::Object ^ state);
public virtual void Send(System.Threading.SendOrPostCallback d, object state);
abstract member Send : System.Threading.SendOrPostCallback * obj -> unit
override this.Send : System.Threading.SendOrPostCallback * obj -> unit
Public Overridable Sub Send (d As SendOrPostCallback, state As Object)

Paramètres

d
SendOrPostCallback

Délégué SendOrPostCallback à appeler.

state
Object

Objet transmis au délégué.

Exceptions

La méthode a été appelée dans une application Windows Store. L’implémentation de SynchronizationContext pour les applications Windows Store ne prend pas en charge la méthode Send(SendOrPostCallback, Object).

Remarques

La Send méthode démarre une requête synchrone pour envoyer un message.

S’applique à