StopEnqueue(Boolean) Method
Disables enqueuing for the specified queue, allowing to wait for the end of all outstanding transactions.
public void StopEnqueue(
bool
)
'Declaration
Public Overloads Sub StopEnqueue( _
ByVal As Boolean _
)
Parameters
- 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.