MSMQQueue (Windows Embedded CE 6.0)
1/6/2010
The MSMQQueue object represents an open instance of the queue. The MSMQQueue object provides the methods needed to read the messages in the queue and the properties needed to manage the open queue.
For information on opening the queue, see the MSMQQueueInfo.Open method.
Methods
The following table lists the methods of the MSMQQueue object.
Method | Description |
---|---|
Closes this instance of the queue. |
|
Starts event notification for asynchronously reading messages in the queue. |
|
Returns the first message in the queue, or waits for a message to arrive if the queue is empty. |
|
Returns the current message, depending on the position of the cursor. |
|
Returns the next message in the queue but does not remove it from the queue. |
|
Retrieves the first message in the queue, removing the message from the queue. |
|
Reads the message at the current cursor location. |
|
Returns the cursor to the start of the queue. |
Properties
The following table lists the properties of the MSMQQueue object.
Property | Description |
---|---|
Access: Read only Data type: Long |
Provides the access rights of the open queue. |
Access: Read-only Data type: Long |
Provides the handle of the opened queue. |
Access: Read-only Data type: Short |
Provides an indication of whether or not the queue is open. |
Access: Read-only Data type: MSMQQueueInfo |
Provides an MSMQQueueInfo object that contains the initial settings used to open the queue. |
Access: Read-only Data type: Long |
Provides the share mode of the open queue. |
Requirements
Header | mqoai.h |
Library | mqoa.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
MSMQ COM Objects
MSMQQueueInfo
MSMQQueueInfo.Create
MSMQQueueInfo.Open