SendOrPostCallback SendOrPostCallback SendOrPostCallback SendOrPostCallback Delegate

Definition

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

public delegate void SendOrPostCallback(System::Object ^ state);
public delegate void SendOrPostCallback(object state);
type SendOrPostCallback = delegate of obj -> unit
Public Delegate Sub SendOrPostCallback(state As Object)
Parameters
state

The object passed to the delegate.

Inheritance
SendOrPostCallbackSendOrPostCallbackSendOrPostCallbackSendOrPostCallback

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.

Applies to