Share via


Setting MSMQQueueInfo.ServiceTypeGuid (Windows Embedded CE 6.0)

1/6/2010

The queue's type identifies the type of service provided by the queue. Some queue types are defined by Message Queuing. However, applications can define their own queue types so that they can later locate a set of queues by the type of service the queue provides.

To change the queue type

  1. Declare an MSMQQueueInfo object.

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

  3. Set MSMQQueueInfo.ServiceTypeGuid to the new type identifier (GUID).

  4. Call MSMQQueueInfo.Update to change the queue type identifier.

See Also

Concepts

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

Other Resources

Message Queuing