Method CreateAsync
CreateAsync(Uri)
Initializes a new instance of the GeoprocessingTask class with the given URL that points to a task within an ArcGIS REST geoprocessing service.
Declaration
public static Task<GeoprocessingTask> CreateAsync(Uri uri)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri | The URL that points to a task within an ARCGIS REST geoprocessing service. |
Returns
| Type | Description |
|---|---|
| Task<GeoprocessingTask> | The task object representing the asynchronous create operation. The value of the task result is a GeoprocessingTask object. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
CreateAsync(Uri, Credential)
Initializes a new instance of the GeoprocessingTask class with the given URL that points to a task within an ArcGIS REST geoprocessing service.
Declaration
public static async Task<GeoprocessingTask> CreateAsync(Uri uri, Credential credential)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri | The URL that points to a task within an ARCGIS REST geoprocessing service. |
| Credential | credential | The security credential used to access a remote task. |
Returns
| Type | Description |
|---|---|
| Task<GeoprocessingTask> | The task object representing the asynchronous create operation. The value of the task result is a GeoprocessingTask object. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |