Show / Hide Table of Contents

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
GeoprocessingServiceType

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.