Click or drag to resize

ClosestFacilityTaskCreateAsync Method (String, String)

Initializes a new instance of the ClosestFacilityTask class from a local geodatabase.

Namespace:  Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public static Task<ClosestFacilityTask> CreateAsync(
	string pathToDatabase,
	string networkName
)

Parameters

pathToDatabase
Type: SystemString
A file path to a geodatabase.
networkName
Type: SystemString
A network name.

Return Value

Type: TaskClosestFacilityTask
The task object representing the asynchronous create operation. The value of the task result is a ClosestFacilityTask object.
See Also