Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Inheritance Hierarchy
System.Object
Microsoft.ServiceBus.ServiceBusNamespaceClient
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public Class ServiceBusNamespaceClient
'Usage
Dim instance As ServiceBusNamespaceClient
public class ServiceBusNamespaceClient
public ref class ServiceBusNamespaceClient
type ServiceBusNamespaceClient = class end
public class ServiceBusNamespaceClient
The ServiceBusNamespaceClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ServiceBusNamespaceClient(String, TransportClientCredentialBase) | Initializes a new instance of the ServiceBusNamespaceClient class with the given service namespace base address and credentials. |
![]() |
ServiceBusNamespaceClient(String, ServiceBusNamespaceClientSettings) | Initializes a new instance of the ServiceBusNamespaceClient class with the given service namespace base address and ServiceBusNamespaceClientSettings object. |
![]() |
ServiceBusNamespaceClient(Uri, TransportClientCredentialBase) | Initializes a new instance of the ServiceBusNamespaceClient class with the given service namespace URI base address and credentials. |
![]() |
ServiceBusNamespaceClient(Uri, ServiceBusNamespaceClientSettings) | Initializes a new instance of the ServiceBusNamespaceClient class with the given service namespace URI base address and ServiceBusNamespaceClientSettings object. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Address | Gets the service namespace base address. |
![]() |
Settings | Gets the service namespace client settings. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
BeginCreateQueue(String, AsyncCallback, Object) | Asynchronous version of CreateQueue(String). |
![]() |
BeginCreateQueue(String, QueueDescription, AsyncCallback, Object) | Asynchronous version of CreateQueue(String, QueueDescription). |
![]() |
BeginCreateTopic(String, AsyncCallback, Object) | Asynchronous version of CreateTopic(String). |
![]() |
BeginCreateTopic(String, TopicDescription, AsyncCallback, Object) | Asynchronous version of CreateTopic(String, TopicDescription). |
![]() |
BeginDeleteQueue | Asynchronous version of DeleteQueue(String). |
![]() |
BeginDeleteTopic | Asynchronous version of DeleteTopic(String). |
![]() |
BeginGetQueue | Asynchronous version of GetQueue(String). |
![]() |
BeginGetQueues | Asynchronous version of GetQueues(). |
![]() |
BeginGetTopic | Asynchronous version of GetTopic(String). |
![]() |
BeginGetTopics | Asynchronous version of GetTopics(). |
![]() |
CreateQueue(String) | Creates a new queue in the service namespace with the given path. |
![]() |
CreateQueue(String, QueueDescription) | Creates a new queue in the service namespace with the given path and queue description. |
![]() |
CreateTopic(String) | Creates a new topic with the given service namespace path. |
![]() |
CreateTopic(String, TopicDescription) | Creates a new topic with the given service namespace path and description. |
![]() |
DeleteQueue | Deletes the queue described by the relative path of the service namespace base address. |
![]() |
DeleteTopic | Deletes the topic described by path. |
![]() |
EndCreateQueue | Ends an asynchronous request to create a queue. |
![]() |
EndCreateTopic | Ends an asynchronous request to create a topic. |
![]() |
EndDeleteQueue | Ends an asynchronous request to delete a queue. |
![]() |
EndDeleteTopic | Ends an asynchronous request to delete a topic. |
![]() |
EndGetQueue | Ends an asynchronous request to a get queue. |
![]() |
EndGetQueues | Ends an asynchronous request to retrieve all queues from the service namespace. |
![]() |
EndGetTopic | Ends an asynchronous request to get a topic. |
![]() |
EndGetTopics | Ends an asynchronous request to retrieve all topics from the service namespace. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetQueue | Retrieves the queue from the service namespace. |
![]() |
GetQueues | Retrieves an enumerable collection of all queues in the namespace. |
![]() |
GetTopic | Retrieves the topic from the service namespace. |
![]() |
GetTopics | Retrieves a collection of topics in a service namespace. |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Examples
ServiceBusNamespaceSettings nsSettings = new ServiceBusNamespaceSettings(); // with credentials and operation timeout
ServiceBusNamespaceClient client = new ServiceBusNamespaceClient(new Uri("baseUri"), NsSettings);
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.