共用方式為


CustomSearchClient Class

Definition

The Bing Custom Search API lets you send a search query to Bing and get back search results customized to meet your custom search definition.

public class CustomSearchClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.CognitiveServices.Search.CustomSearch.CustomSearchClient>, IDisposable, Microsoft.Azure.CognitiveServices.Search.CustomSearch.ICustomSearchClient
type CustomSearchClient = class
    inherit ServiceClient<CustomSearchClient>
    interface ICustomSearchClient
    interface IDisposable
Public Class CustomSearchClient
Inherits ServiceClient(Of CustomSearchClient)
Implements ICustomSearchClient, IDisposable
Inheritance
Implements

Constructors

CustomSearchClient(DelegatingHandler[])

Initializes a new instance of the CustomSearchClient class.

CustomSearchClient(HttpClient, Boolean)

Initializes a new instance of the CustomSearchClient class.

CustomSearchClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the CustomSearchClient class.

CustomSearchClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the CustomSearchClient class.

CustomSearchClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the CustomSearchClient class.

CustomSearchClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the CustomSearchClient class.

Properties

Credentials

Subscription credentials which uniquely identify client subscription.

CustomInstance

Gets the ICustomInstance.

DeserializationSettings

Gets or sets json deserialization settings.

Endpoint

Supported Cognitive Services endpoints (protocol and hostname, for example: "https://westus.api.cognitive.microsoft.com", "https://api.cognitive.microsoft.com").

FirstMessageHandler (Inherited from ServiceClient<T>)
HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
SerializationSettings

Gets or sets json serialization settings.

UserAgent (Inherited from ServiceClient<T>)

Methods

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)

Applies to