Property ServiceType
ServiceType
Gets or sets the execution type of the local geoprocessing service.
Declaration
public GeoprocessingServiceType ServiceType { get; set; }
Property Value
| Type | Description |
|---|---|
| GeoprocessingServiceType | The execution type of the local geoprocessing service. |
Remarks
This can use the synchronous ExecuteAsync/Execute type or asynchronous SubmitJobAsync/SubmitJob type. Additionally the SubmitJobAsync/SubmitJob operation can also optionally return results via a map service.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | ServiceType cannot be set if the service is not in the stopped state. |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |