Show / Hide Table of Contents

Class LocalService

Provides a base class for services which can be initialized on the runtime LocalServer.

Inheritance
System.Object
LocalService
LocalGeoprocessingService
LocalMapService
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.LocalServices
Assembly: Esri.ArcGISRuntime.LocalServices.dll
Syntax
public abstract class LocalService

Properties

Name Description
Error

Gets the associated error if the server's Status is FailedToLoad.

Name

Gets the unique auto-assigned name for the service.

PackagePath

Gets the path of the package file on which the LocalService is based.

Status

Gets the local server status.

Url

Gets the URL of this local service.

Methods

Name Description
StartAsync()

Asynchronously starts this local service instance, and returns a Task object.

StartAsync(CancellationToken)

Asynchronously starts this local service instance, and returns a Task object.

StopAsync()

Asynchronously stops this local service instance, and returns a Task object.

Events

Name Description
StatusChanged

Occurs when Status of this local service has changed.

Applies to

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