Show / Hide Table of Contents

Constructor LocalFeatureService

LocalFeatureService(String)

Initializes a new instance of the LocalFeatureService class based on the provided ArcGIS map package path property.

Declaration
public LocalFeatureService(string path)
Parameters
Type Name Description
System.String path

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

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 StartAsyncTask method can be called to start the LocalFeatureService.

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.