MessageQueueDispose Method |
Releases any resources associated with this instance.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 23.1.416.0 (23.1.416.0)
Syntaxpublic:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Implements
IDisposableDispose
Remarks
Disposing of a
MessageQueue signals the queue to stop pressing messages. If the message queue
was started with
Start, the
Start method will return. If the
message queue was started with
StartInAnotherThread, the other thread will end.
See Also