Click or drag to resize

LocalGeoprocessingServiceStartAsync Method

Asynchronously starts the local geoprocessing service.

Namespace:  Esri.ArcGISRuntime.LocalServices
Assembly:  Esri.ArcGISRuntime.LocalServices (in Esri.ArcGISRuntime.LocalServices.dll) Version: 100.7.0.0
Syntax
public override Task StartAsync()

Return Value

Type: Task
A task that represents the asynchronous start operation.
Exceptions
ExceptionCondition
InvalidOperationExceptionStartAsyncTask should can not be called if the local service is already in the Started state.
InvalidOperationExceptionAn exception is raised if the PackagePath property does not reference a valid geoprocessing package file.
Remarks

The StartAsyncTask method will check whether this local service is already in the Started state and raise an InvalidOperationException if necessary. The PackagePath property will also be checked for a valid geoprocessing package.

See Also