RouteServiceClient 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 methods used to make requests to the Route Service.

Note The name of this class and its constructor may be different depending on the tool you use to generate the client proxy classes.

Syntax

public class RouteServiceClient : System.ServiceModel.ClientBase<IRouteService>
Public Class RouteServiceClient Inherits System.ServiceModel.ClientBase(Of IRouteService)

Constructor

Name

Description

RouteServiceClient 

Initializes a new instance of a RouteServiceClient object.

Public Methods

Name

Description

CalculateRoute 

Calculates a route between specified stops and returns route directions as well as other route data.

CalculateRoutesFromMajorRoads 

Calculates starting points or route directions to a specified location from nearby major roads.

See Also

RouteRequest Class
RouteResponse Class
MajorRoutesRequest Class
MajorRoutesResponse Class