SynchronizationContext.Post Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
When overridden in a derived class, dispatches an asynchronous message to a synchronization context.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overridable Sub Post ( _
d As SendOrPostCallback, _
state As Object _
)
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.
Remarks
The Post method starts an asynchronous request to post a message.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Xbox 360, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.