Click or drag to resize

MessageQueuePost 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.2.419.0 (24.2.419.0)
Syntax
public void Post(
	SendOrPostCallback callbackMethod,
	Object state
)

Parameters

callbackMethod
Type: System.ThreadingSendOrPostCallback
The SendOrPostCallback delegate to call.
state
Type: SystemObject
The object passed to the delegate.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when callbackMethod is .
See Also