Setting MSMQQueueInfo.Quota (Windows CE 5.0)

Send Feedback

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

  1. Declare an MSMQQueueInfo object.
  2. Call MSMQQueueInfo.Refresh to retrieve the existing properties of the queue.
  3. Set MSMQQueueInfo.Quota to the new maximum size for the queue.
  4. 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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.