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 |
---|---|
System.InvalidOperationException | ServiceType cannot be set if the service is not in the stopped state. |
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |