Show / Hide Table of Contents

Method StopAsync

StopAsync()

Asynchronously stops this local service instance, and returns a Task object.

Declaration
public Task StopAsync()
Returns
Type Description
System.Threading.Tasks.Task

A task that represents the asynchronous stop operation.

Exceptions
Type Condition
System.InvalidOperationException

Service can only be stopped when in the started state.

Applies to

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