Task
require(["esri/tasks/Task"], function(Task) { /* code goes here */ });Class: 
esri/tasks/TaskInheritance: Task  Accessor
Subclasses: ClosestFacilityTask , ConfigurationTask , FindTask , GeometryService , Geoprocessor , IdentifyTask , ImageServiceIdentifyTask , JobTask , Locator , NotificationTask , PrintTask , QueryTask , ReportTask , RouteTask , ServiceAreaTask , TokenTask , WorkflowTask
Since: ArcGIS API for JavaScript 4.0
The base class for tasks. This class has no constructor.
- See also:
Constructors
- new Task(properties)
- Parameter:properties ObjectoptionalSee the properties for a list of all the properties that may be passed into the constructor. 
Property Overview
Any properties can be set, retrieved or listened to. See the Working with Properties topic.
| Name | Type | Summary | Class | |
|---|---|---|---|---|
| String | The name of the class.more details | more details | Accessor | |
| Object | The options to be used for data requests.more details | more details | Task | |
| String | The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.more details | more details | Task | 
Property Details
- Since: ArcGIS API for JavaScript 4.7
- The name of the class. The declared class name is formatted as - esri.folder.className.
- requestOptionsObject
- The options to be used for data requests. These options can also be controlled through the - requestOptionsmethod parameter.
- urlString
- The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task. 
Loading...