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

path
A string representing the path or URL of an ArcGIS map package.
Initializes a new instance of the LocalFeatureService class based on the provided ArcGIS map package path property.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal path As String _
)
C# 
public LocalFeatureService( 
   string path
)

Remarks

This overloaded constructor provides a more convenient option for instantiating a new LocalFeatureService object and setting the path property in one call.

Once the path property has been set, the StartAsync method can be called to start the LocalFeatureService.

Parameters

path
A string representing the path or URL of an ArcGIS map package.

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.