你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusAdministrationClient 构造函数

定义

重载

ServiceBusAdministrationClient()

允许模拟的无参数构造函数。

ServiceBusAdministrationClient(String)

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

ServiceBusAdministrationClient(String, TokenCredential)

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

ServiceBusAdministrationClient(String, ServiceBusAdministrationClientOptions)

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

ServiceBusAdministrationClient(String, AzureNamedKeyCredential, ServiceBusAdministrationClientOptions)

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

ServiceBusAdministrationClient(String, AzureSasCredential, ServiceBusAdministrationClientOptions)

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

ServiceBusAdministrationClient(String, TokenCredential, ServiceBusAdministrationClientOptions)

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

ServiceBusAdministrationClient()

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

允许模拟的无参数构造函数。

protected ServiceBusAdministrationClient ();
Protected Sub New ()

适用于

ServiceBusAdministrationClient(String)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

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

参数

connectionString
String

命名空间连接字符串。

适用于

ServiceBusAdministrationClient(String, TokenCredential)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

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)

参数

fullyQualifiedNamespace
String

要连接到的完全限定的服务总线命名空间。 这可能类似于 {yournamespace}.servicebus.windows.net

credential
TokenCredential

用于授权的 Azure 托管标识凭据。 访问控制可能由服务总线命名空间或请求的服务总线实体指定,具体取决于 Azure 配置。

适用于

ServiceBusAdministrationClient(String, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

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)

参数

connectionString
String

命名空间连接字符串。

options
ServiceBusAdministrationClientOptions

配置客户端时要应用的一组选项。

适用于

ServiceBusAdministrationClient(String, AzureNamedKeyCredential, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

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)

参数

fullyQualifiedNamespace
String

要连接到的完全限定的服务总线命名空间。 这可能类似于 {yournamespace}.servicebus.windows.net

credential
AzureNamedKeyCredential

AzureNamedKeyCredential用于授权的 。 访问控制可能由服务总线命名空间或请求的服务总线实体指定,具体取决于 Azure 配置。

options
ServiceBusAdministrationClientOptions

配置客户端时要应用的一组选项。

适用于

ServiceBusAdministrationClient(String, AzureSasCredential, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

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)

参数

fullyQualifiedNamespace
String

要连接到的完全限定的服务总线命名空间。 这可能类似于 {yournamespace}.servicebus.windows.net

credential
AzureSasCredential

AzureNamedKeyCredential用于授权的 。 访问控制可能由服务总线命名空间或请求的服务总线实体指定,具体取决于 Azure 配置。

options
ServiceBusAdministrationClientOptions

配置客户端时要应用的一组选项。

适用于

ServiceBusAdministrationClient(String, TokenCredential, ServiceBusAdministrationClientOptions)

Source:
ServiceBusAdministrationClient.cs
Source:
ServiceBusAdministrationClient.cs

初始化可用于对 ServiceBus 实体执行管理操作的新 ServiceBusAdministrationClient

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)

参数

fullyQualifiedNamespace
String

要连接到的完全限定的服务总线命名空间。 这可能类似于 {yournamespace}.servicebus.windows.net

credential
TokenCredential

用于授权的 Azure 托管标识凭据。 访问控制可能由服务总线命名空间或请求的服务总线实体指定,具体取决于 Azure 配置。

options
ServiceBusAdministrationClientOptions

配置客户端时要应用的一组选项。

适用于