The RouteTask type exposes the following members.

Constructors

  NameDescription
RouteTask
Initializes a new instance of the RouteTask class

Methods

  NameDescription
Solve
Performs the route solve operation using a callback request. The request is sent to the map resource identified by the Url property of the RouteTask. The result of this operation is a RouteResults object passed to callback function.

Properties

  NameDescription
OnComplete
Function that will process the results returned by the task.
Token
Authentication token to be used in the task's requests to a secured ArcGIS service.
Url
URL of the ArcGIS Server REST resource that will receive query request. The ArcGIS Services Directory may be used to determine the URL of the resource if not already given to you.

See Also