CustomVisionPredictionClient Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
CustomVisionPredictionClient(DelegatingHandler[]) |
Inicializa una nueva instancia de la clase CustomVisionPredictionClient. |
CustomVisionPredictionClient(ServiceClientCredentials, DelegatingHandler[]) | |
CustomVisionPredictionClient(HttpClient, Boolean) |
Inicializa una nueva instancia de la clase CustomVisionPredictionClient. |
CustomVisionPredictionClient(HttpClientHandler, DelegatingHandler[]) |
Inicializa una nueva instancia de la clase CustomVisionPredictionClient. |
CustomVisionPredictionClient(ServiceClientCredentials, HttpClient, Boolean) | |
CustomVisionPredictionClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[]) |
CustomVisionPredictionClient(DelegatingHandler[])
Inicializa una nueva instancia de la clase 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. Controladores de delegación que se van a agregar a la canalización de cliente http.
Se aplica a
CustomVisionPredictionClient(ServiceClientCredentials, DelegatingHandler[])
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
- credentials
- ServiceClientCredentials
- handlers
- DelegatingHandler[]
Se aplica a
CustomVisionPredictionClient(HttpClient, Boolean)
Inicializa una nueva instancia de la clase 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 que se va a usar
- disposeHttpClient
- Boolean
True: eliminará el httpClient proporcionado al llamar a CustomVisionPredictionClient.Dispose(). False: no eliminará httpClient proporcionado.
Se aplica a
CustomVisionPredictionClient(HttpClientHandler, DelegatingHandler[])
Inicializa una nueva instancia de la clase 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. Controlador de cliente http que se usa para controlar el transporte http.
- handlers
- DelegatingHandler[]
Opcional. Controladores de delegación que se van a agregar a la canalización de cliente http.
Se aplica a
CustomVisionPredictionClient(ServiceClientCredentials, HttpClient, Boolean)
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
- credentials
- ServiceClientCredentials
- httpClient
- HttpClient
- disposeHttpClient
- Boolean
Se aplica a
CustomVisionPredictionClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
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
- credentials
- ServiceClientCredentials
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]
Se aplica a
Azure SDK for .NET