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)
System.Object.ToString()
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 Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |