Share via


Setting MSMQQueueInfo.JournalQuota (Windows Embedded CE 6.0)

1/6/2010

The queue journal's quota is the maximum size of the queue journal.

By default, a queue journal's maximum size is set to INFINITE.

To change the size of the queue journal

  1. Declare an MSMQQueueInfo object.

  2. Call MSMQQueueInfo.Refresh to retrieve the existing properties of the queue.

  3. Set MSMQQueueInfo.JournalQuota to the new maximum size, in kilobytes.

  4. Call MSMQQueueInfo.Update to change the size of the queue.

See Also

Concepts

Setting Queue Properties (COM)
MSMQ COM Support
Using the COM Components
MSMQ Security

Other Resources

Message Queuing