Aracılığıyla paylaş


SendOrPostCallback Delegate

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Delegate Sub SendOrPostCallback ( _
    state As Object _
)
public delegate void SendOrPostCallback(
    Object state
)

Parameters

Remarks

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.

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.

See Also

Reference