|  | Sign in
Expand
This topic has not yet been rated Rate this topic

NamespaceManager Class

An anchor class used in managing entities, such as queues, topics, subscriptions, and rules, in your service namespace. You must provide service namespace address and access credentials in order to manage your service namespace.

System.Object
  Microsoft.ServiceBus.NamespaceManager

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public sealed class NamespaceManager

The NamespaceManager type exposes the following members.

  Name Description
Public method NamespaceManager(String, NamespaceManagerSettings) Initializes a new instance of the NamespaceManager class with the given service namespace base address and NamespaceManagerSettings object.
Public method NamespaceManager(String, TokenProvider) Initializes a new instance of the NamespaceManager class with the given service namespace base address and token provider.
Public method NamespaceManager(Uri, NamespaceManagerSettings) Initializes a new instance of the NamespaceManager class with the given service namespace URI base address and NamespaceManagerSettings object.
Public method NamespaceManager(Uri, TokenProvider) Initializes a new instance of the NamespaceManager class with the given service namespace URI base address and TokenProvider object.
Top
  Name Description
Public property Address Gets the service namespace base address.
Public property Settings Gets the service namespace client settings.
Top
  Name Description
Public method BeginCreateQueue(String, AsyncCallback, Object) Asynchronous version of CreateQueue(String).
Public method BeginCreateQueue(QueueDescription, AsyncCallback, Object) Asynchronous version of CreateQueue(QueueDescription).
Public method BeginCreateSubscription(SubscriptionDescription, AsyncCallback, Object) Asynchronous version of CreateSubscription method.
Public method BeginCreateSubscription(String, String, AsyncCallback, Object) Asynchronous version of CreateSubscription(String, String) method.
Public method BeginCreateSubscription(SubscriptionDescription, Filter, AsyncCallback, Object) Asynchronous version of CreateSubscription method.
Public method BeginCreateSubscription(SubscriptionDescription, RuleDescription, AsyncCallback, Object) Asynchronous version of CreateSubscription method.
Public method BeginCreateSubscription(String, String, Filter, AsyncCallback, Object) Asynchronous version of CreateSubscription method.
Public method BeginCreateSubscription(String, String, RuleDescription, AsyncCallback, Object) Asynchronous version of CreateSubscription method.
Public method BeginCreateTopic(String, AsyncCallback, Object) Asynchronous version of CreateTopic(String) method.
Public method BeginCreateTopic(TopicDescription, AsyncCallback, Object) Asynchronous version of CreateTopic(TopicDescription) method.
Public method BeginDeleteQueue Asynchronous version of DeleteQueue(String) method.
Public method BeginDeleteSubscription Asynchronous version of DeleteSubscription(String, String) method.
Public method BeginDeleteTopic Asynchronous version of DeleteTopic(String) method.
Public method BeginGetQueue Asynchronous version of GetQueue(String) method.
Public method BeginGetQueues Asynchronous version of GetQueues.
Public method BeginGetRules Asynchronous version of GetRules(String, String) method.
Public method BeginGetSubscription Asynchronous version of GetSubscription(String, String) method.
Public method BeginGetSubscriptions Asynchronous version of GetSubscriptions(String) method.
Public method BeginGetTopic Asynchronous version of GetTopic(String) method.
Public method BeginGetTopics Asynchronous version of GetTopics method.
Public method BeginQueueExists Asynchronous version of QueueExists(String) method.
Public method BeginSubscriptionExists Asynchronous version of SubscriptionExists(String, String) method.
Public method BeginTopicExists Asynchronous version of TopicExists(String) method.
Public method CreateQueue(String) Creates a new queue in the service namespace with the given path.
Public method CreateQueue(QueueDescription) Creates a new queue in the service namespace with the specified queue description.
Public method CreateSubscription(SubscriptionDescription) Creates a new subscription in the service namespace with the specified subscription description.
Public method CreateSubscription(String, String) Creates a new subscription in the service namespace with the specified topic path and subscription name.
Public method CreateSubscription(SubscriptionDescription, Filter) Creates a new subscription in the service namespace with the specified subscription description and filter expression.
Public method CreateSubscription(SubscriptionDescription, RuleDescription) Creates a new subscription in the service namespace with the specified subscription description and rule description.
Public method CreateSubscription(String, String, Filter) Creates a new subscription in the service namespace with the specified topic path, subscription name, and filter expression.
Public method CreateSubscription(String, String, RuleDescription) Creates a new subscription in the service namespace with the specified topic path, subscription name, and rule description.
Public method CreateTopic(String) Creates a new topic inside the service namespace with the given service namespace path.
Public method CreateTopic(TopicDescription) Creates a new topic inside the service namespace with the specified topic description.
Public method DeleteQueue Deletes the queue described by the path relative to the service namespace base address.
Public method DeleteSubscription Deletes the subscription with the specified topic path and subscription name.
Public method DeleteTopic Deletes the topic described by path relative to the service namespace base address.
Public method EndCreateQueue Ends an asynchronous request to create a queue.
Public method EndCreateSubscription Ends an asynchronous request to create a subscription.
Public method EndCreateTopic Ends an asynchronous request to create a topic.
Public method EndDeleteQueue Ends an asynchronous request to delete a queue.
Public method EndDeleteSubscription Ends an asynchronous request to delete a subscription.
Public method EndDeleteTopic Ends an asynchronous request to delete a topic.
Public method EndGetQueue Ends an asynchronous request to get a queue.
Public method EndGetQueues Ends an asynchronous request to retrieve all queues from the service namespace.
Public method EndGetRules Ends an asynchronous request to retrieve all rules from the service namespace.
Public method EndGetSubscription Ends an asynchronous request to get a subscription.
Public method EndGetSubscriptions Ends an asynchronous request to retrieve all subscriptions from the service namespace.
Public method EndGetTopic Ends an asynchronous request to get a topic.
Public method EndGetTopics Ends an asynchronous request to retrieve all topics from the service namespace.
Public method EndQueueExists Ends an asynchronous request to determine whether a queue exists from the service namespace.
Public method EndSubscriptionExists Ends an asynchronous request to determine whether a subscription exists from the service namespace.
Public method EndTopicExists Ends an asynchronous request to determine whether a topic exists from the service namespace.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetQueue Retrieves a queue from the service namespace.
Public method GetQueues Retrieves an enumerable collection of all queues in the service namespace.
Public method GetRules Retrieves an enumerable collection of all rules in the service namespace.
Public method GetSubscription Retrieves the topic from the service namespace.
Public method GetSubscriptions Retrieves an enumerable collection of all subscriptions in the service namespace.
Public method GetTopic Retrieves the topic from the service namespace.
Public method GetTopics Retrieves a collection of topics in a service namespace.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method QueueExists Determines whether a queue exists in the service namespace.
Public method SubscriptionExists Determines whether a subscription exists in the service namespace.
Public method TopicExists Determines whether a topic exists in the service namespace.
Public method ToString (Inherited from Object.)
Top
ServiceBusNamespaceSettings nsSettings =  new ServiceBusNamespaceSettings(); // with credentials and operation timeout
NamespaceManager client = new NamespaceManager(new Uri("baseUri"), NsSettings);
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)