SearchResponse Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Contains the results returned by the Search Service. This class inherits from the ResponseBase Class.

Syntax

public class SearchResponse : ResponseBase
Public Class SearchResponse Inherits ResponseBase

Constructor

Name

Description

SearchResponse 

Initializes a new instance of a SearchResponse object.

Public Properties

Name

Description

BrandLogoUri

The System.Uri of the Bing Maps brand logo image. (Inherited from the ResponseBase Class.)

QuerySuggestion 

A QuerySuggestion Class object containing a corrected query and a corrected separated query derived from the search request.

ResponseSummary

A ResponseSummary Class object describing the response that was returned by the service. (Inherited from the ResponseBase Class.)

ResultSets 

A SearchResultSet Class array, where each element contains search results from a specific listing type.

Remarks

If you are using the Visual Studio user interface or the svcutil.exe utility from the command line to create your proxy classes, the size of the web service response is restricted by the following two Windows Communication Foundation (WCF) properties.

The Bing Maps SOAP Services may return responses larger than the default values for these properties. To ensure responses are successfully received, set these properties to the recommended values in the table below.

Service

MaxReceivedMessageSize 

MaxItemsInObjectGraph

Geocode Service

65536 (default)

65536 (default)

Imagery Service

65536 (default)

65536 (default)

Route Service

9000000

7000000

Search Service

800000

65536 (default)

See Also

SearchServiceClient.Search Method