Share via


Setting MSMQQueueInfo.Authenticate (Windows Embedded CE 6.0)

1/6/2010

The authentication level of the queue specifies whether the queue accepts only authenticated messages.

By default, a queue accepts both authenticated and non-authenticated messages.

To change the authentication level of a queue

  1. Declare an MSMQQueueInfo object.

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

  3. Set MSMQQueueInfo.Authenticate to the new authentication level.

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

See Also

Concepts

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

Other Resources

Message Queuing