A newer version of this page is available. Switch to the current version.

RouteCalculationResult(RequestResultCode, String, List<BingRouteResult>, List<RouteWaypoint>) Constructor

Initializes a new instance of the RouteCalculationResult class with the specified parameters.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll


public RouteCalculationResult(
    RequestResultCode statusCode,
    string faultReason,
    List<BingRouteResult> routeResults,
    List<RouteWaypoint> intermediatePoints


Name Type Description
statusCode RequestResultCode

A RequestResultCode object specifying the status code. This value is assigned to the RequestResultBase.ResultCode property.

faultReason String

A String specifying the cause of the fault. This value is assigned to the RequestResultBase.FaultReason property.

routeResults List<BingRouteResult>

A list of BingRouteResult objects specifying route results. This value is assigned to the RouteCalculationResult.RouteResults property.

intermediatePoints List<RouteWaypoint>

A list of RouteWaypoint objects specifying intermediate points. This value is assigned to the RouteCalculationResult.IntermediatePoints property.

See Also