Ler em inglês

Compartilhar via


CognitiveServicesManagementClient Construtores

Definição

Sobrecargas

CognitiveServicesManagementClient(DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(HttpClient, Boolean)

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(Uri, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(ServiceClientCredentials, HttpClient, Boolean)

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

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

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

CognitiveServicesManagementClient(DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

protected CognitiveServicesManagementClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

CognitiveServicesManagementClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

public CognitiveServicesManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

CognitiveServicesManagementClient(HttpClient, Boolean)

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

protected CognitiveServicesManagementClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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 CognitiveServicesManagementClient.Dispose(). False: não descartará httpClient fornecido

Aplica-se a

CognitiveServicesManagementClient(HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

protected CognitiveServicesManagementClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

CognitiveServicesManagementClient(Uri, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

protected CognitiveServicesManagementClient (Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

CognitiveServicesManagementClient(ServiceClientCredentials, HttpClient, Boolean)

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

public CognitiveServicesManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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 CognitiveServicesManagementClient.Dispose(). False: não descartará httpClient fornecido

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

CognitiveServicesManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

public CognitiveServicesManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

CognitiveServicesManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

public CognitiveServicesManagementClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

CognitiveServicesManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

protected CognitiveServicesManagementClient (Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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

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

Inicializa uma nova instância da classe CognitiveServicesManagementClient.

public CognitiveServicesManagementClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient
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