MSMQQueueInfos (Windows CE 5.0)
The MSMQQueueInfos object is used for enumerating through the collection of public queues returned by the MSMQQuery.LookupQueue method.
Queue collections are dynamic
The information in the collection of queues is dynamic, with other clients looking at the queues or deleting them from the collection at any time. As a consequence, there is no queue count available for enumerating through the collection.
In place of a queue count, MSMQQueueInfos provides an end-of-list (EOL) mechanism to indicate when you have completely enumerated through the collection.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mqoai.h.
Link Library: Mqoa.lib.
Send Feedback on this topic to the authors