Queue and Message Collections

You can retrieve lists of the queues on your Message Queuing network and the messages they contain by using any of a variety of retrieval methods available in the MessageQueue class. You might retrieve lists of queues and messages if you want to perform administrative tasks, generate reports about queue contents, or search through the contents of a queue for messages that meet specific criteria.

You can retrieve both messages and message queues in two main ways: You can retrieve a static snapshot of the messages or queues on the network, or you can use an enumerator to iterate through messages and queues. Retrieving a static list of queues or messages is faster than retrieving an enumeration, but it does not give ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.