Setting MSMQQueueInfo.PrivLevel (Windows Embedded CE 6.0)

1/6/2010

The privacy level of the queue specifies how the queue handles private (encrypted) messages.

By default, a queue can accept private or non-private messages.

To change the privacy level of a queue

  1. Declare an MSMQQueueInfo object.

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

  3. Set MSMQQueueInfo.PrivLevel to the new privacy level.

  4. Call MSMQQueueInfo.Update to change the privacy level of the queue.

See Also

Concepts

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

Other Resources

Message Queuing