Creating a Queue (COM) (Windows Embedded CE 6.0)
1/6/2010
Queues are created by calling MSMQQueueInfo.Create. These include public queues registered in the directory service, private queues registered on the local computer.
Before creating a queue, you must decide where the messages of the queue will be stored, where the queue will be registered, and what the name for the queue will be. This information is included as part of the MSMQQueueInfo.PathName property of the queue.
MSMQQueueInfo.PathName is the only required property needed to create a queue.
Additional queue properties, such as the label of the queue, the privacy level of the queue, and if the queue is transactional can also be set when creating the queue. For a list of all queue properties, see MSMQQueueInfo.
Once the queue is created, the MSMQQueueInfo object can be used to open the queue for sending or receiving messages.
This implementation of MSMQ does not support the following queues:
- public queue
- transactional queue
- encrypted message queue
For examples on creating private queues, see Creating a Private Queue (COM).
See Also
Concepts
Using the COM Components
MSMQ COM Support
MSMQ Security