ArcGIS API for Windows Phone - Library Reference
SolveCompleted Event
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > RouteTask Class : SolveCompleted Event

Event is raised upon completion of SolveAsync(RouteParameters).

Syntax

Visual Basic (Declaration) 
Public Event SolveCompleted As EventHandler(Of RouteEventArgs)
C# 
public event EventHandler<RouteEventArgs> SolveCompleted

Event Data

The event handler receives an argument of type RouteEventArgs containing data related to this event. The following RouteEventArgs properties provide information specific to this event.

PropertyDescription
Barriers Barriers are returned only if BaseRouteParameters.ReturnBarriers was set to true (which is not the default). If you send in the barriers as a featureSet (instead of using DataLayer), you already have the barriers and might not need to request them back from the server.
Facilities Facilities are returned only if RouteClosestFacilityParameters.ReturnFacilities or RouteServiceAreaParameters.ReturnFacilities was set to true.
Incidents Incidents are returned only if RouteClosestFacilityParameters.ReturnIncidents was set to true (which is not the default).
Messages The solution messages (if returned in the server response) are an array of GPMessage instances.
PolygonBarriers Polygon barriers are returned only if BaseRouteParameters.ReturnPolygonBarriers was set to true (which is not the default).
PolylineBarriers Polyline barriers are returned only if BaseRouteParameters.ReturnPolylineBarriers was set to true (which is not the default).
RouteResults The route results is an array of RouteResult instances.
ServiceAreaPolygons Service area polygons are returned from RouteTask.SolveClosestFacilityAsync
ServiceAreaPolylines Service area polylines are returned from RouteTask.SolveClosestFacilityAsync
UserState (Inherited from ESRI.ArcGIS.Client.Tasks.TaskEventArgs) Gets the unique identifier for the asynchronous task.

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.