Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WindowsFormsSynchronizationContext::Post Method (SendOrPostCallback^, Object^)

 

Dispatches an asynchronous message to a synchronization context.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual void Post(
	SendOrPostCallback^ d,
	Object^ state
) override

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft