Send Method

SynchronizationContext.Send Method (SendOrPostCallback, Object)

 

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

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

public virtual void Send(
	SendOrPostCallback d,
	object state
)

Parameters

d
Type: System.Threading.SendOrPostCallback

The SendOrPostCallback delegate to call.

state
Type: System.Object

The object passed to the delegate.

Exception Condition
NotSupportedException

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 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft