Compartilhar via


RecoveryServicesClient Construtores

Definição

Sobrecargas

RecoveryServicesClient(DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(Uri, ServiceClientCredentials, HttpClient, Boolean, DelegatingHandler[])
RecoveryServicesClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(ServiceClientCredentials, HttpClient, Boolean)

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(HttpClient, DelegatingHandler[])
RecoveryServicesClient(HttpClient, Boolean)

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(Uri, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

RecoveryServicesClient(DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Aplica-se a

RecoveryServicesClient(Uri, ServiceClientCredentials, HttpClient, Boolean, DelegatingHandler[])

public RecoveryServicesClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disableDispose, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, httpClient As HttpClient, disableDispose As Boolean, ParamArray handlers As DelegatingHandler())

Parâmetros

baseUri
Uri
httpClient
HttpClient
disableDispose
Boolean
handlers
DelegatingHandler[]

Aplica-se a

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

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

baseUri
Uri

Opcional. O URI base do serviço.

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

rootHandler
HttpClientHandler

Opcional. O manipulador de cliente http usado para manipular o transporte http.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

RecoveryServicesClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

baseUri
Uri

Opcional. O URI base do serviço.

rootHandler
HttpClientHandler

Opcional. O manipulador de cliente http usado para manipular o transporte http.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

RecoveryServicesClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

rootHandler
HttpClientHandler

Opcional. O manipulador de cliente http usado para manipular o transporte http.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

RecoveryServicesClient(ServiceClientCredentials, HttpClient, Boolean)

Inicializa uma nova instância da classe RecoveryServicesClient.

public RecoveryServicesClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

Parâmetros

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

httpClient
HttpClient

HttpClient a ser usado

disposeHttpClient
Boolean

True: descartará o httpClient fornecido ao chamar RecoveryServicesClient.Dispose(). False: não descartará httpClient fornecido

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

RecoveryServicesClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

baseUri
Uri

Opcional. O URI base do serviço.

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

RecoveryServicesClient(HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

rootHandler
HttpClientHandler

Opcional. O manipulador de cliente http usado para manipular o transporte http.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Aplica-se a

RecoveryServicesClient(HttpClient, DelegatingHandler[])

protected RecoveryServicesClient (System.Net.Http.HttpClient httpClient, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient : System.Net.Http.HttpClient * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient
Protected Sub New (httpClient As HttpClient, ParamArray handlers As DelegatingHandler())

Parâmetros

httpClient
HttpClient
handlers
DelegatingHandler[]

Aplica-se a

RecoveryServicesClient(HttpClient, Boolean)

Inicializa uma nova instância da classe RecoveryServicesClient.

protected RecoveryServicesClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

Parâmetros

httpClient
HttpClient

HttpClient a ser usado

disposeHttpClient
Boolean

True: descartará o httpClient fornecido ao chamar RecoveryServicesClient.Dispose(). False: não descartará httpClient fornecido

Aplica-se a

RecoveryServicesClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

RecoveryServicesClient(Uri, DelegatingHandler[])

Inicializa uma nova instância da classe RecoveryServicesClient.

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

Parâmetros

baseUri
Uri

Opcional. O URI base do serviço.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a