Method Send
Send(SendOrPostCallback, object?)
Dispatches a synchronous message to a synchronization context
public override void Send(SendOrPostCallback d, object? state)
Parameters
d
SendOrPostCallbackThe SendOrPostCallback delegate to call.
state
objectThe object passed to the delegate.
Remarks
If the destination thread no longer exists or the value of its Thread.IsAlive property is false, the Send method raises an InvalidAsynchronousStateException. It is up to the caller to determine what further action to take.