Show / Hide Table of Contents

Class ServiceAreaTask

Instances of this class represent tasks that can compute service areas.

Inheritance
System.Object
ServiceAreaTask
Implements
IApiKeyResource
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ServiceAreaTask : IApiKeyResource
Remarks

A Service Area task allows you to calculate areas that can be serviced (reached) from a given location. A service area is a region that encompasses all accessible streets, that is, streets that lie within a specified impedance. For instance, the 10-minute service area for a facility includes all the streets that can be reached within 10 minutes from that facility.

Properties

Name Description
ApiKey

Gets or sets the API key that allows your app to access ArcGIS location services and private portal items.

ServiceAreaTaskInfo

Gets service area task info.

TransportationNetworkDataset

Gets the transportation network dataset.

Uri

Gets the service endpoint used to create task.

Methods

Name Description
CreateAsync(TransportationNetworkDataset)

Initializes a new instance of the ServiceAreaTask class from a transportation network dataset.

CreateAsync(String, String)

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

CreateAsync(Uri)

Creates a service area task with URL.

CreateAsync(Uri, String)

Creates a service area task with URL.

CreateDefaultParametersAsync()

Creates default parameters as defined by the service.

SolveServiceAreaAsync(ServiceAreaParameters)

Solves a service area passing in a parameters object.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7

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.
In This Article
Back to top Copyright © 2022 Esri.