Show / Hide Table of Contents

Constructor ReroutingParameters

ReroutingParameters(RouteTask, RouteParameters)

Initializes a new instance of the ReroutingParameters class.

Declaration
public ReroutingParameters(RouteTask routeTask, RouteParameters routeParameters)
Parameters
Type Name Description
RouteTask routeTask

A RouteTask capable of solving routes on the same network used by the original route, usually the same RouteTask that was used to create the route being tracked. Used for rerouting in background thread.

RouteParameters routeParameters

The route parameters.

Remarks

The following RouteParameters properties are ignored: FindBestSequence, OutputSpatialReference, PreserveFirstStop, StartTime, ReturnDirections, ReturnStops, and ReturnRoutes.

An exception is thrown if the RouteTask or RouteParameters are null.

Exceptions
Type Condition
System.ArgumentNullException

routeTask or routeParameters is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.11 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.11 - 200.8
Xamarin.Android100.11 - 100.15
Xamarin.iOS100.11 - 100.15
UWP100.11 - 200.8
In This Article
Back to top Copyright © 2022 Esri.