Stops enqueueing, dequeueing, or both on a queue.
procedure StopQueue(Enqueue: boolean = True; Dequeue: boolean = True; Wait: boolean = True);
Call the StopQueue method to stop enqueueing, dequeueing, or both on a queue. The Wait parameter specifies whether to wait for the completion of the currently active queue transactions.