Setting MSMQQueueInfo.PrivLevel (Windows CE 5.0)

Send Feedback

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

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.