Share via


ManagementClient Constructors

Definition

Overloads

ManagementClient(String)

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

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)

Source:
ManagementClient.cs

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

public ManagementClient (string connectionString);
new Microsoft.Azure.ServiceBus.Management.ManagementClient : string -> Microsoft.Azure.ServiceBus.Management.ManagementClient
Public Sub New (connectionString As String)

Parameters

connectionString
String

Namespace connection string.

Applies to

ManagementClient(ServiceBusConnectionStringBuilder, ITokenProvider)

Source:
ManagementClient.cs

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

public ManagementClient (Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder connectionStringBuilder, Microsoft.Azure.ServiceBus.Primitives.ITokenProvider tokenProvider = default);
new Microsoft.Azure.ServiceBus.Management.ManagementClient : Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder * Microsoft.Azure.ServiceBus.Primitives.ITokenProvider -> Microsoft.Azure.ServiceBus.Management.ManagementClient
Public Sub New (connectionStringBuilder As ServiceBusConnectionStringBuilder, Optional tokenProvider As ITokenProvider = Nothing)

Parameters

connectionStringBuilder
ServiceBusConnectionStringBuilder

ServiceBusConnectionStringBuilder having endpoint information.

tokenProvider
ITokenProvider

Token provider which will generate security tokens for authorization.

Applies to

ManagementClient(String, ITokenProvider)

Source:
ManagementClient.cs

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

public ManagementClient (string endpoint, Microsoft.Azure.ServiceBus.Primitives.ITokenProvider tokenProvider);
new Microsoft.Azure.ServiceBus.Management.ManagementClient : string * Microsoft.Azure.ServiceBus.Primitives.ITokenProvider -> Microsoft.Azure.ServiceBus.Management.ManagementClient
Public Sub New (endpoint As String, tokenProvider As ITokenProvider)

Parameters

endpoint
String

Fully qualified domain name for Service Bus. Most likely, {yournamespace}.servicebus.windows.net

tokenProvider
ITokenProvider

Token provider which will generate security tokens for authorization.

Applies to