SendOrPostCallback Delegate

SendOrPostCallback Delegate

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents a method to be called when a message is to be dispatched to a synchronization context.

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

public delegate void SendOrPostCallback(
	Object state
)

Parameters

state
Type: System.Object
The object passed to the delegate.

SendOrPostCallback represents a callback method that you want to execute when a message is to be dispatched to a synchronization context. Create the delegate by passing your callback method to the SendOrPostCallback constructor. Your method must have the signature shown here.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft