Enum GeoprocessingServiceType
The GeoprocessingServiceType enumeration contains values which are used to determine how a LocalGeoprocessingService will run.
Namespace: Esri.ArcGISRuntime.LocalServices
Assembly: Esri.ArcGISRuntime.LocalServices.dll
Syntax
public enum GeoprocessingServiceType
Remarks
When creating LocalGeoprocessingServices to run Geoprocessing tools and models you must choose whether that service will run synchronously (Synchronous
Fields
Name | Description |
---|---|
AsynchronousSubmit | The service will run tasks asynchronously on the LocalServer. A job id is used to poll for progress of asynchronous tasks. The Geoprocessor.SubmitJobAsync method is typically used to initiate tasks in this service. |
AsynchronousSubmitWithMapServiceResult | The service will run tasks asynchronously, a job id is used to poll for progress. The Geoprocessor.SubmitJobAsync method is typically used to initiate tasks in this service. A result of a task can be displayed as a layer in a map using the GPResultImageLayer class. |
SynchronousExecute | The service will execute tasks synchronously on the LocalServer. Use this for tasks that run quickly (approx 15 seconds). The Geoprocessor.ExecuteAsync method is typically used to initiate tasks in this service. |
Applies to
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |