共用方式為


ManagementClient Class

Definition

public class ManagementClient
type ManagementClient = class
Public Class ManagementClient
Inheritance
ManagementClient

Constructors

ManagementClient(ServiceBusConnectionStringBuilder, ITokenProvider)

Initializes a new ManagementClient which can be used to perform management opertions on ServiceBus entities.

ManagementClient(String, ITokenProvider)

Initializes a new ManagementClient which can be used to perform management opertions on ServiceBus entities.

ManagementClient(String)

Initializes a new ManagementClient which can be used to perform management opertions on ServiceBus entities.

Methods

CloneRequest(HttpRequestMessage)
CloseAsync()
CreateQueueAsync(QueueDescription, CancellationToken)

Creates a new queue in the service namespace with the given name.

CreateQueueAsync(String, CancellationToken)

Creates a new queue in the service namespace with the given name.

CreateRuleAsync(String, String, RuleDescription, CancellationToken)

Adds a new rule to the subscription under given topic.

CreateSubscriptionAsync(String, String, CancellationToken)

Creates a new subscription within a topic in the service namespace with the given name.

CreateSubscriptionAsync(SubscriptionDescription, CancellationToken)

Creates a new subscription within a topic in the service namespace with the given name.

CreateSubscriptionAsync(SubscriptionDescription, RuleDescription, CancellationToken)

Creates a new subscription within a topic with the provided default rule.

CreateTopicAsync(String, CancellationToken)

Creates a new topic in the service namespace with the given name.

CreateTopicAsync(TopicDescription, CancellationToken)

Creates a new topic in the service namespace with the given name.

DeleteQueueAsync(String, CancellationToken)

Deletes the queue described by the path relative to the service namespace base address.

DeleteRuleAsync(String, String, String, CancellationToken)

Deletes the rule described by ruleName from subscriptionName under topicPath./>

DeleteSubscriptionAsync(String, String, CancellationToken)

Deletes the subscription with the specified topic and subscription name.

DeleteTopicAsync(String, CancellationToken)

Deletes the topic described by the name relative to the service namespace base address.

GetNamespaceInfoAsync(CancellationToken)

Gets information related to the currently used namespace.

GetQueueAsync(String, CancellationToken)

Retrieves a queue from the service namespace.

GetQueueRuntimeInfoAsync(String, CancellationToken)

Retrieves the runtime information of a queue.

GetQueuesAsync(Int32, Int32, CancellationToken)

Retrieves the list of queues present in the namespace.

GetQueuesRuntimeInfoAsync(Int32, Int32, CancellationToken)

Retrieves the list of runtime information for queues present in the namespace.

GetRuleAsync(String, String, String, CancellationToken)

Retrieves a rule from the service namespace.

GetRulesAsync(String, String, Int32, Int32, CancellationToken)

Retrieves the list of rules for a given subscription in a topic.

GetSubscriptionAsync(String, String, CancellationToken)

Retrieves a subscription from the service namespace.

GetSubscriptionRuntimeInfoAsync(String, String, CancellationToken)

Retrieves the runtime information of a subscription.

GetSubscriptionsAsync(String, Int32, Int32, CancellationToken)

Retrieves the list of subscriptions present in the topic.

GetSubscriptionsRuntimeInfoAsync(String, Int32, Int32, CancellationToken)

Retrieves the list of runtime information for subscriptions present in the namespace.

GetTopicAsync(String, CancellationToken)

Retrieves a topic from the service namespace.

GetTopicRuntimeInfoAsync(String, CancellationToken)

Retrieves the runtime information of a topic.

GetTopicsAsync(Int32, Int32, CancellationToken)

Retrieves the list of topics present in the namespace.

GetTopicsRuntimeInfoAsync(Int32, Int32, CancellationToken)

Retrieves the list of runtime information for topics present in the namespace.

QueueExistsAsync(String, CancellationToken)

Checks whether a given queue exists or not.

SubscriptionExistsAsync(String, String, CancellationToken)

Checks whether a given subscription exists or not.

TopicExistsAsync(String, CancellationToken)

Checks whether a given topic exists or not.

UpdateQueueAsync(QueueDescription, CancellationToken)

Updates an existing queue.

UpdateRuleAsync(String, String, RuleDescription, CancellationToken)

Updates an existing rule for a topic-subscription.

UpdateSubscriptionAsync(SubscriptionDescription, CancellationToken)

Updates an existing subscription under a topic.

UpdateTopicAsync(TopicDescription, CancellationToken)

Updates an existing topic.

Applies to