Delen via


WebSearchClient Class

Definition

The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more.

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

Constructors

WebSearchClient(DelegatingHandler[])

Initializes a new instance of the WebSearchClient class.

WebSearchClient(HttpClient, Boolean)

Initializes a new instance of the WebSearchClient class.

WebSearchClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the WebSearchClient class.

WebSearchClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the WebSearchClient class.

WebSearchClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the WebSearchClient class.

WebSearchClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the WebSearchClient 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>)
Web

Gets the IWeb.

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