Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The MSMQQueueInfosobject is used for enumerating through the collection of public queues returned by the MSMQQuery.LookupQueuemethod.

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, MSMQQueueInfosprovides an end-of-list (EOL) mechanism to indicate when you have completely enumerated through the collection.

Requirements

Header mqoai.h
Library mqoa.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later