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 |
---|---|
System.Threading.Tasks.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 |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 100.14 |
Relevant samples
Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
List geodatabase versions: Connect to a service and list versions of the geodatabase.
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 |
---|---|
System.Threading.Tasks.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 |
---|---|
.NET Standard 2.0 | 100.12 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 100.14 |