TechNet
Export (0) Print
Expand All

SendOrPostCallback Delegate

 

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)

type SendOrPostCallback = 
    delegate of 
        state:Object -> unit

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft