共用方式為


AutoSuggestClient Class

Definition

The AutoSuggest Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for AutoSuggest.

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

Constructors

AutoSuggestClient(DelegatingHandler[])

Initializes a new instance of the AutoSuggestClient class.

AutoSuggestClient(HttpClient, Boolean)

Initializes a new instance of the AutoSuggestClient class.

AutoSuggestClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the AutoSuggestClient class.

AutoSuggestClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the AutoSuggestClient class.

AutoSuggestClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the AutoSuggestClient class.

AutoSuggestClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the AutoSuggestClient class.

Properties

Credentials

Subscription credentials which uniquely identify client subscription.

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

AutoSuggestMethodWithHttpMessagesAsync(String, String, String, String, String, String, String, String, String, String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

The AutoSuggest API lets you send a search query to Bing and get back a list of suggestions. This section provides technical details about the query parameters and headers that you use to request suggestions and the JSON response objects that contain them.

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>)

Extension Methods

AutoSuggestMethod(IAutoSuggestClient, String, String, String, String, String, String, String, String, String, String, String, IList<String>)

The AutoSuggest API lets you send a search query to Bing and get back a list of suggestions. This section provides technical details about the query parameters and headers that you use to request suggestions and the JSON response objects that contain them.

AutoSuggestMethodAsync(IAutoSuggestClient, String, String, String, String, String, String, String, String, String, String, String, IList<String>, CancellationToken)

The AutoSuggest API lets you send a search query to Bing and get back a list of suggestions. This section provides technical details about the query parameters and headers that you use to request suggestions and the JSON response objects that contain them.

Applies to