WindowsFormsSynchronizationContext.Post Method (SendOrPostCallback, Object)

 
System_CAPS_noteNote

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

Dispatches an asynchronous message to a synchronization context.

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

public override 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.

.NET Framework
Available since 2.0
Return to top
Show: