Setting MSMQQueueInfo.Label

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The label of a queue provides a description of the queue.

To change the label of a queue

  1. Declare an MSMQQueueInfo object.

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

  3. Set MSMQQueueInfo.Label to the new label.

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

See Also

Concepts

MSMQ COM Support
Using the COM Components
MSMQ Security

Other Resources

Message Queuing