ArcGIS API for WPF - Library Reference
SolveClosestFacilityAsync(RouteClosestFacilityParameters,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > RouteTask Class > SolveClosestFacilityAsync Method : SolveClosestFacilityAsync(RouteClosestFacilityParameters,Object) Method

parameters
Parameters indicate guidlines that are required when determining what the route to the closest facility.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
Determines the closest route between RouteClosestFacilityParameters.Incidents and RouteClosestFacilityParameters.Facilities.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SolveClosestFacilityAsync( _
   ByVal parameters As RouteClosestFacilityParameters, _
   ByVal userToken As Object _
) 
C# 
public void SolveClosestFacilityAsync( 
   RouteClosestFacilityParameters parameters,
   object userToken
)

Parameters

parameters
Parameters indicate guidlines that are required when determining what the route to the closest facility.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.