SynchronizationContext.Post Method (SendOrPostCallback, Object)

 

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

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

public virtual void Post(
	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.

The Post method starts an asynchronous request to post a message.

Universal Windows Platform
Available since 8
.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: