Class LocalService
Provides a base class for services which can be initialized on the runtime LocalServer.
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 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
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |