Setting MSMQQueueInfo.Quota (Windows CE 5.0)
The quota of the queue is the maximum size of the queue.
By default, a queue's maximum size is set to INFINITE.
To change the maximum size of a queue
- Declare an MSMQQueueInfo object.
- Call MSMQQueueInfo.Refresh to retrieve the existing properties of the queue.
- Set MSMQQueueInfo.Quota to the new maximum size for the queue.
- Call MSMQQueueInfo.Update to change the maximum size of the queue.
See Also
MSMQ Application Development | MSMQ COM Support | Using the COM Components | MSMQ Security
Send Feedback on this topic to the authors