Show / Hide Table of Contents

Class LocalFeatureService

The LocalFeatureService class represents a Feature Service hosted by the LocalServer.

Inheritance
System.Object
LocalService
LocalMapService
LocalFeatureService
LocalMapService.MaxRecords
LocalMapService.GetDynamicWorkspaces()
LocalMapService.SetDynamicWorkspaces(IEnumerable<DynamicWorkspace>)
LocalService.Name
LocalService.Status
LocalService.Error
LocalService.StopAsync()
LocalService.PackagePath
LocalService.StatusChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.LocalServices
Assembly: Esri.ArcGISRuntime.LocalServices.dll
Syntax
public sealed class LocalFeatureService : LocalMapService
Remarks

LocalFeatureServices form the basis for feature editing in conjunction with an instance of the FeatureLayer class. The feature service is just a map service with the Feature Access capability enabled. This capability allows the map service to expose feature geometries and their symbols in a way that is easy for the API to use and update. Unlike with map services, which have an ExportMap function to draw the map, visualization of feature services works completely from queries. The server returns the queried features to the client, then the client does the work of drawing the features in the feature layer.

Constructors

Name Description
LocalFeatureService(String)

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

Properties

Name Description
IsZDefaultsEnabled

Gets or sets a value indicating whether when creating new features, Z coordinate values will be set to the configured default value.

MapServiceUrl

Gets the Url of this LocalFeatureService instance.

Url

Gets the Url of this LocalFeatureService instance.

ZDefault

Gets or sets the default value to set Z coordinates on new features.

Methods

Name Description
StartAsync()

Starts this LocalFeatureService instance on the LocalServer. The StartCompleted event is called when the service creation is complete.

StartAsync(CancellationToken)

Starts this LocalFeatureService instance on the LocalServer. The StartCompleted event is called when the service creation is complete.

ToString()

Returns a string representing the path of the map package on which the LocalFeatureService is based.

Applies to

TargetVersions
.NET Windows100.13 - 200.7
.NET Framework100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.