The MSMQQueue object represents an MSMQ queue. It provides cursor-like behavior for traversing the messages of an open queue. At any given moment, it refers to a particular position in the queue.
For information on how to create or open a queue, see the Create and Open methods of MSMQQueueInfo.