ServiceBusAdministrationClient Constructors

Definition

Overloads

ServiceBusAdministrationClient()

Parameterless constructor to allow mocking.

ServiceBusAdministrationClient(String)

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

ServiceBusAdministrationClient(String, TokenCredential)

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

ServiceBusAdministrationClient(String, ServiceBusAdministrationClientOptions)

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

ServiceBusAdministrationClient(String, AzureNamedKeyCredential, ServiceBusAdministrationClientOptions)

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

ServiceBusAdministrationClient(String, AzureSasCredential, ServiceBusAdministrationClientOptions)

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

ServiceBusAdministrationClient(String, TokenCredential, ServiceBusAdministrationClientOptions)

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

ServiceBusAdministrationClient()

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Parameterless constructor to allow mocking.

protected ServiceBusAdministrationClient ();
Protected Sub New ()

Applies to

ServiceBusAdministrationClient(String)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

public ServiceBusAdministrationClient (string connectionString);
new Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient : string -> Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient
Public Sub New (connectionString As String)

Parameters

connectionString
String

Namespace connection string.

Applies to

ServiceBusAdministrationClient(String, TokenCredential)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

public ServiceBusAdministrationClient (string fullyQualifiedNamespace, Azure.Core.TokenCredential credential);
new Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient : string * Azure.Core.TokenCredential -> Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient
Public Sub New (fullyQualifiedNamespace As String, credential As TokenCredential)

Parameters

fullyQualifiedNamespace
String

The fully qualified Service Bus namespace to connect to. This is likely to be similar to {yournamespace}.servicebus.windows.net.

credential
TokenCredential

The Azure managed identity credential to use for authorization. Access controls may be specified by the Service Bus namespace or the requested Service Bus entity, depending on Azure configuration.

Applies to

ServiceBusAdministrationClient(String, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

public ServiceBusAdministrationClient (string connectionString, Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions options);
new Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient : string * Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions -> Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient
Public Sub New (connectionString As String, options As ServiceBusAdministrationClientOptions)

Parameters

connectionString
String

Namespace connection string.

options
ServiceBusAdministrationClientOptions

A set of options to apply when configuring the client.

Applies to

ServiceBusAdministrationClient(String, AzureNamedKeyCredential, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

public ServiceBusAdministrationClient (string fullyQualifiedNamespace, Azure.AzureNamedKeyCredential credential, Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions options = default);
new Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient : string * Azure.AzureNamedKeyCredential * Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions -> Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient
Public Sub New (fullyQualifiedNamespace As String, credential As AzureNamedKeyCredential, Optional options As ServiceBusAdministrationClientOptions = Nothing)

Parameters

fullyQualifiedNamespace
String

The fully qualified Service Bus namespace to connect to. This is likely to be similar to {yournamespace}.servicebus.windows.net.

credential
AzureNamedKeyCredential

The AzureNamedKeyCredential to use for authorization. Access controls may be specified by the Service Bus namespace or the requested Service Bus entity, depending on Azure configuration.

options
ServiceBusAdministrationClientOptions

A set of options to apply when configuring the client.

Applies to

ServiceBusAdministrationClient(String, AzureSasCredential, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

public ServiceBusAdministrationClient (string fullyQualifiedNamespace, Azure.AzureSasCredential credential, Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions options = default);
new Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient : string * Azure.AzureSasCredential * Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions -> Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient
Public Sub New (fullyQualifiedNamespace As String, credential As AzureSasCredential, Optional options As ServiceBusAdministrationClientOptions = Nothing)

Parameters

fullyQualifiedNamespace
String

The fully qualified Service Bus namespace to connect to. This is likely to be similar to {yournamespace}.servicebus.windows.net.

credential
AzureSasCredential

The AzureNamedKeyCredential to use for authorization. Access controls may be specified by the Service Bus namespace or the requested Service Bus entity, depending on Azure configuration.

options
ServiceBusAdministrationClientOptions

A set of options to apply when configuring the client.

Applies to

ServiceBusAdministrationClient(String, TokenCredential, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

Initializes a new ServiceBusAdministrationClient which can be used to perform administration operations on ServiceBus entities.

public ServiceBusAdministrationClient (string fullyQualifiedNamespace, Azure.Core.TokenCredential credential, Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions options);
new Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient : string * Azure.Core.TokenCredential * Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClientOptions -> Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient
Public Sub New (fullyQualifiedNamespace As String, credential As TokenCredential, options As ServiceBusAdministrationClientOptions)

Parameters

fullyQualifiedNamespace
String

The fully qualified Service Bus namespace to connect to. This is likely to be similar to {yournamespace}.servicebus.windows.net.

credential
TokenCredential

The Azure managed identity credential to use for authorization. Access controls may be specified by the Service Bus namespace or the requested Service Bus entity, depending on Azure configuration.

options
ServiceBusAdministrationClientOptions

A set of options to apply when configuring the client.

Applies to