次の方法で共有


MSMQQueueInfos (Compact 2013)

3/26/2014

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

Header

mqoai.h

Library

mqoa.lib

See Also

Reference

MSMQ COM Objects