NamespaceManager Class

Definition

Represents 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.

public sealed class NamespaceManager
type NamespaceManager = class
Public NotInheritable Class NamespaceManager
Inheritance
System.Object
NamespaceManager

Examples

NamespaceManagerSettings nsSettings =  new NamespaceManagerSettings(); // with credentials and operation timeout
 NamespaceManager manager = new NamespaceManager(new Uri("baseUri"), NsSettings);

Constructors

NamespaceManager(String)

Initializes a new instance of the NamespaceManager class with the given service namespace address.

Methods

CreateFromConnectionString(String)

Creates a new instance of NamespaceManager using a specified connection string.

CreateNotificationHub(NotificationHubDescription)

Creates a new notification hub with the properties specified in the description parameter.

CreateNotificationHubAsync(NotificationHubDescription)

Asynchronously creates a new notification hub with the properties specified in the description parameter.

DeleteNotificationHub(String)

Deletes a notification hub at the provided path.

DeleteNotificationHubAsync(String)

Asynchronously deletes a notification hub at the provided path.

GetNotificationHub(String)

Retrieves the description of a notification hub from the service namespace.

GetNotificationHubAsync(String)

Asynchronously retrieves the description of a notification hub from the service namespace.

GetNotificationHubJobAsync(String, String)

Asynchronously gets a specified notification hubs job.

GetNotificationHubJobsAsync(String)

Asynchronously gets a set of all notification hubs jobs.

GetNotificationHubs()

Retrieves the description of a notification hub from the service namespace.

GetNotificationHubsAsync()

Asynchronously retrieves the description of a notification hub from the service namespace.

NotificationHubExists(String)

Determines whether there is a notification hub at the specified path in the service namespace.

NotificationHubExistsAsync(String)

Asynchronously determines whether there is a notification hub at the specified path in the service namespace.

SubmitNotificationHubJobAsync(NotificationHubJob, String)

Submits a notification hub job for processing.

UpdateNotificationHub(NotificationHubDescription)

Updates an existing notification hub at the path specified in the description parameter. All the notification hub properties are overwritten with the ones specified in the description parameter.

UpdateNotificationHubAsync(NotificationHubDescription)

Asynchronously updates an existing notification hub at the path specified in the description parameter. All the notification hub properties are overwritten with the ones specified in the description parameter.

Applies to