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

Asynchronously starts this local service instance and returns a Task object on which the Result property contains LocalService instance.

Syntax

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

Remarks

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

Return Value

A Task object on which the Result property contains the LocalService instance.

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.