StopQueue(Boolean,Boolean,Boolean) Method
In This Topic
Disables enqueuing, dequeuing, or both for the specified queue, allowing to wait for the end of all outstanding transactions.
Syntax
Parameters
- enqueue
- Specifies whether Enqueue should be disabled on this queue. true means disable Enqueue. false means do not alter the current setting.
- dequeue
- Specifies whether Dequeue should be disabled on this queue. true means disable Dequeue. false means do not alter the current setting.
- wait
- Specifies whether to wait for the completion of outstanding transactions. true means wait if there are any outstanding transactions. In this state no new transactions are allowed to enqueue to or dequeue from this queue. false means return immediately either with a success or an error.
See Also