MessageQueue.Post Method (SendOrPostCallback, Object) |
Adds a delegate to the message queue and immediately returns.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic void Post(
SendOrPostCallback callbackMethod,
Object state
)
Public Sub Post (
callbackMethod As SendOrPostCallback,
state As Object
)
public:
void Post(
SendOrPostCallback^ callbackMethod,
Object^ state
)
member Post :
callbackMethod : SendOrPostCallback *
state : Object -> unit
Parameters
- callbackMethod
- Type: System.Threading.SendOrPostCallback
The SendOrPostCallback delegate to call. - state
- Type: System.Object
The object passed to the delegate.
Exceptions
See Also