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

RelayManagementClient 构造函数

定义

重载

RelayManagementClient(DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(ServiceClientCredentials, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(Uri, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

RelayManagementClient(DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

protected RelayManagementClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

参数

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

适用于

RelayManagementClient(ServiceClientCredentials, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

public RelayManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

参数

credentials
ServiceClientCredentials

必需。 客户端连接到 Azure 所需的凭据。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

例外

当所需参数为 null 时引发

适用于

RelayManagementClient(HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

protected RelayManagementClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

参数

rootHandler
HttpClientHandler

可选。 用于处理 http 传输的 http 客户端处理程序。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

适用于

RelayManagementClient(Uri, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

protected RelayManagementClient (Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())

参数

baseUri
Uri

可选。 服务的基 URI。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

例外

当所需参数为 null 时引发

适用于

RelayManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

public RelayManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

参数

credentials
ServiceClientCredentials

必需。 客户端连接到 Azure 所需的凭据。

rootHandler
HttpClientHandler

可选。 用于处理 http 传输的 http 客户端处理程序。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

例外

当所需参数为 null 时引发

适用于

RelayManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

public RelayManagementClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

参数

baseUri
Uri

可选。 服务的基 URI。

credentials
ServiceClientCredentials

必需。 客户端连接到 Azure 所需的凭据。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

例外

当所需参数为 null 时引发

适用于

RelayManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

protected RelayManagementClient (Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

参数

baseUri
Uri

可选。 服务的基 URI。

rootHandler
HttpClientHandler

可选。 用于处理 http 传输的 http 客户端处理程序。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

例外

当所需参数为 null 时引发

适用于

RelayManagementClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 RelayManagementClient 类的新实例。

public RelayManagementClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Relay.RelayManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Relay.RelayManagementClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

参数

baseUri
Uri

可选。 服务的基 URI。

credentials
ServiceClientCredentials

必需。 客户端连接到 Azure 所需的凭据。

rootHandler
HttpClientHandler

可选。 用于处理 http 传输的 http 客户端处理程序。

handlers
DelegatingHandler[]

可选。 要添加到 http 客户端管道的委托处理程序。

例外

当所需参数为 null 时引发

适用于