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

Initializes a new instance of the LocalMapService class.

Syntax

Visual Basic (Declaration) 
Public Function New()
C# 
public LocalMapService()

Remarks

This is the default constructor for creating a new LocalMapService instance. If creating an instance via the default constructor it is necessary to set the path property prior to starting the service.

Alternatively you can use the overloaded constructor to create a new LocalMapService instance and set the path property.

Once the path property has been set by either approach above, the StartAsync method can be called to start the LocalMapService.

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.