SynchronizationContext.Send Method (SendOrPostCallback, Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When overridden in a derived class, dispatches a synchronous message to a synchronization context.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

abstract Send : 
        d:SendOrPostCallback *
        state:Object -> unit
override Send : 
        d:SendOrPostCallback *
        state:Object -> unit


Type: System.Threading.SendOrPostCallback

The SendOrPostCallback delegate to call.

Type: System.Object

The object passed to the delegate.

Exception Condition

The method was called in a Windows Store app. The implementation of SynchronizationContext for Windows Store apps does not support the Send method.

The Send method starts a synchronous request to send a message.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top