Compartir a través de


Setting MSMQQueueInfo.JournalQuota

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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

MSMQ COM Support
Using the COM Components
MSMQ Security

Other Resources

Message Queuing