Partilhar via


CustomVisionPredictionClient Construtores

Definição

Sobrecargas

CustomVisionPredictionClient(DelegatingHandler[])

Inicializa uma nova instância da classe CustomVisionPredictionClient.

CustomVisionPredictionClient(ServiceClientCredentials, DelegatingHandler[])
CustomVisionPredictionClient(HttpClient, Boolean)

Inicializa uma nova instância da classe CustomVisionPredictionClient.

CustomVisionPredictionClient(HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe CustomVisionPredictionClient.

CustomVisionPredictionClient(ServiceClientCredentials, HttpClient, Boolean)
CustomVisionPredictionClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

CustomVisionPredictionClient(DelegatingHandler[])

Origem:
CustomVisionPredictionClient.cs

Inicializa uma nova instância da classe CustomVisionPredictionClient.

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

CustomVisionPredictionClient(ServiceClientCredentials, DelegatingHandler[])

Origem:
CustomVisionPredictionClient.cs
public CustomVisionPredictionClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parâmetros

handlers
DelegatingHandler[]

Aplica-se a

CustomVisionPredictionClient(HttpClient, Boolean)

Origem:
CustomVisionPredictionClient.cs

Inicializa uma nova instância da classe CustomVisionPredictionClient.

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

Aplica-se a

CustomVisionPredictionClient(HttpClientHandler, DelegatingHandler[])

Origem:
CustomVisionPredictionClient.cs

Inicializa uma nova instância da classe CustomVisionPredictionClient.

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

CustomVisionPredictionClient(ServiceClientCredentials, HttpClient, Boolean)

Origem:
CustomVisionPredictionClient.cs
public CustomVisionPredictionClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

Parâmetros

httpClient
HttpClient
disposeHttpClient
Boolean

Aplica-se a

CustomVisionPredictionClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Origem:
CustomVisionPredictionClient.cs
public CustomVisionPredictionClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parâmetros

rootHandler
HttpClientHandler
handlers
DelegatingHandler[]

Aplica-se a