MessageQueueSend Method (SendOrPostCallback, Object) |
Adds a delegate to the message queue and waits until all currently
queued messages and the given delegate are executed before returning.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public void Send(
SendOrPostCallback callbackMethod,
Object state
)
Public Sub Send (
callbackMethod As SendOrPostCallback,
state As Object
)
public:
void Send(
SendOrPostCallback^ callbackMethod,
Object^ state
)
member Send :
callbackMethod : SendOrPostCallback *
state : Object -> unit
Parameters
- callbackMethod
- Type: System.ThreadingSendOrPostCallback
The SendOrPostCallback delegate to call. - state
- Type: SystemObject
The object passed to the delegate.
Exceptions See Also