Partager via


CustomSearchClient Constructeurs

Définition

Surcharges

CustomSearchClient(DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

CustomSearchClient(ServiceClientCredentials, DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

CustomSearchClient(HttpClient, Boolean)

Initialise une nouvelle instance de la classe CustomSearchClient.

CustomSearchClient(HttpClientHandler, DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

CustomSearchClient(ServiceClientCredentials, HttpClient, Boolean)

Initialise une nouvelle instance de la classe CustomSearchClient.

CustomSearchClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

CustomSearchClient(DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

protected CustomSearchClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Search.CustomSearch.CustomSearchClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Search.CustomSearch.CustomSearchClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

Paramètres

handlers
DelegatingHandler[]

facultatif. Délégation des gestionnaires à ajouter au pipeline client http.

S’applique à

CustomSearchClient(ServiceClientCredentials, DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

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

Paramètres

credentials
ServiceClientCredentials

Obligatoire. Informations d’identification de l’abonnement qui identifient de manière unique l’abonnement client.

handlers
DelegatingHandler[]

facultatif. Délégation des gestionnaires à ajouter au pipeline client http.

Exceptions

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à

CustomSearchClient(HttpClient, Boolean)

Initialise une nouvelle instance de la classe CustomSearchClient.

protected CustomSearchClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.CognitiveServices.Search.CustomSearch.CustomSearchClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.CognitiveServices.Search.CustomSearch.CustomSearchClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

Paramètres

httpClient
HttpClient

HttpClient à utiliser

disposeHttpClient
Boolean

True : élimine le httpClient fourni lors de l’appel de CustomSearchClient.Dispose(). False : ne dispose pas du httpClient fourni

S’applique à

CustomSearchClient(HttpClientHandler, DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

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

Paramètres

rootHandler
HttpClientHandler

facultatif. Gestionnaire de client http utilisé pour gérer le transport http.

handlers
DelegatingHandler[]

facultatif. Délégation des gestionnaires à ajouter au pipeline client http.

S’applique à

CustomSearchClient(ServiceClientCredentials, HttpClient, Boolean)

Initialise une nouvelle instance de la classe CustomSearchClient.

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

Paramètres

credentials
ServiceClientCredentials

Obligatoire. Informations d’identification de l’abonnement qui identifient de manière unique l’abonnement client.

httpClient
HttpClient

HttpClient à utiliser

disposeHttpClient
Boolean

True : élimine le httpClient fourni lors de l’appel de CustomSearchClient.Dispose(). False : ne dispose pas du httpClient fourni

Exceptions

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à

CustomSearchClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initialise une nouvelle instance de la classe CustomSearchClient.

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

Paramètres

credentials
ServiceClientCredentials

Obligatoire. Informations d’identification de l’abonnement qui identifient de manière unique l’abonnement client.

rootHandler
HttpClientHandler

facultatif. Gestionnaire de client http utilisé pour gérer le transport http.

handlers
DelegatingHandler[]

facultatif. Délégation des gestionnaires à ajouter au pipeline client http.

Exceptions

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à