RouteResponse Class

 

Contains the result returned from a CalculateRoute service request. This class inherits from the ResponseBase Class.

public class RouteResponse : ResponseBase

Name

Description

RouteResponse 

Initializes a new instance of a RouteResponse object.

Name

Description

BrandLogoUri

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

ResponseSummary

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

Result 

A RouteResult Class object returned by the Route Service.

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)

Show: