Skip to main content

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

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

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

Parameters

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