Method SolveServiceAreaAsync
SolveServiceAreaAsync(ServiceAreaParameters)
Solves a service area passing in a parameters object.
Declaration
public Task<ServiceAreaResult> SolveServiceAreaAsync(ServiceAreaParameters serviceAreaParameters)Parameters
| Type | Name | Description | 
|---|---|---|
| ServiceAreaParameters | serviceAreaParameters | The service area parameters. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ServiceAreaResult> | The task object representing the asynchronous solve service area operation. The value of the task result is a ServiceAreaResult object. | 
Remarks
Executes the ServiceAreaParameters defined for this ServiceAreaTask and returns a ServiceAreaResult containing the results.
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.1 - 200.8 | 
| Xamarin.Android | 100.1 - 100.15 | 
| Xamarin.iOS | 100.1 - 100.15 | 
| UWP | 100.1 - 200.8 | 
Relevant samples
Find service area: Find the service area within a network from a given point.
Find service areas for multiple facilities: Find the service areas of several facilities from a feature service.