ArcGIS Runtime SDK for WPF - Library Reference
StopAsync() Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalService Class > StopAsync Method : StopAsync() Method

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

Syntax

Visual Basic (Declaration) 
Public Overloads Function StopAsync() As Task(Of LocalService)
C# 
public Task<LocalService> StopAsync()

Remarks

The StopAsync call should be enclosed in a try-catch block to handle any exceptions raised.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.