Interface IJob
Common interface for all jobs
Namespace: Esri.ArcGISRuntime.Tasks
Assembly: Esri.ArcGISRuntime.dll
Syntax
public interface IJob
Properties
| Name | Description |
|---|---|
| Error | Gets the error if one occurred during execution of the job.
If no error has occurred, then |
| Messages | Gets the job's status messages |
| Progress | Gets the current progress of the job as a percentage toward completion |
| ServerJobId | Gets the server job ID of the job |
| Status | Gets the status of the job. |
Methods
| Name | Description |
|---|---|
| CancelAsync() | Cancels this job and waits for any asynchronous server-side operations to be canceled. |
| CheckStatusAsync() | Initiates a request to check the status of a job while executing on a server |
| FromJson(string) | Converts the JSON string to job |
| GetResultAsync() | A convenience method that starts the job, waits for completion, and returns the result. |
| Pause() | Pauses execution of the job |
| Start() | Starts the job if the job is not started or paused. |
| ToJson() | Converts the job into a JSON representation |
Events
| Name | Description |
|---|---|
| MessageAdded | Raised when a new JobMessage was added to Messages. |
| ProgressChanged | Occurs when the Progress has changed |
| StatusChanged | Raised when the Status property has changed. |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |