ArcGIS Runtime SDK for WPF - Library Reference
SolveServiceAreaCompleted Event
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > RouteTask Class : SolveServiceAreaCompleted Event

This event is raised on the successful completion of the SolveServiceAreaAsync.

Syntax

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

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 SolveClosestFacilityAsync
ServiceAreaPolylines Service area polylines are returned from SolveClosestFacilityAsync
UserState (Inherited from ESRI.ArcGIS.Client.Tasks.TaskEventArgs)Gets the unique identifier for the asynchronous task.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.