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
InvalidOperationException

ServiceType cannot be set if the service is not in the stopped state.

See Also
GeoprocessingServiceType

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.