How can I programmatically list available queues?
Interview question and answer by:
Pandians | Posted on: 7/21/2009 | Category:
C# Interview questions | Views: 1378 |
Answer:
The GetPublicQueuesByLabel , GetPublicQueuesByCategory , and
GetPublicQueuesByMachine methods of the MessageQueue class provide access to queues on a network.To specify more exactly the type of queue you are looking for, the GetPublicQueues method has a MessageQueueCriteria parameter in which you can specify combinations of search criteria.
Asked In: In General
|
Alert Moderator
Found interesting? Add this to: