Amit
Amit

Reputation: 187

How to list all the created queue and topic in azure service bus

I have created 4 different queues and 1 topic in azure. I want to display these queues and topics on a page. Can anyone tell me how can I do that?

Upvotes: 2

Views: 2534

Answers (1)

Sean Feldman
Sean Feldman

Reputation: 26012

To list all of your entities, you should look into NamespaceManager class. It can list all of the entities by their type (Get​Queues​Async() and Get​Topics​Async()).

There are overloads to take filters, but that filtering is poorly documented and somewhat broken.

Upvotes: 2

Related Questions