ResponseBase 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 base summary property for the service response. The response classes of all of the services derive from the ResponseBase class.

Note

Whenever you use or display results returned from the Bing Maps SOAP Services, you need to also display the logo returned in the ResponseBase.BrandLogoUri Property and copyright notices returned in the ResponseSummary.Copyright Property.

Syntax

public class ResponseBase
Public Class ResponseBase

Constructor

Name

Description

ResponseBase 

Initializes a new instance of a ResponseBase object.

Public Properties

Name

Description

BrandLogoUri

The System.Uri of the Bing Maps brand logo image.

ResponseSummary

A ResponseSummary Class object describing the response that was returned by the service.

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

RequestBase Class