Post Method
Collapse the table of content
Expand the table of content

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 Overrides Sub Post (
	d As SendOrPostCallback,
	state As Object
)

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:
© 2016 Microsoft