Show / Hide Table of Contents

Class Job<T>

Represents a long-running asynchronous operation

Inheritance
Object
Job<T>
GeoprocessingJob
DownloadPreplannedOfflineMapJob
EstimateTileCacheSizeJob
ExportTileCacheJob
ExportVectorTilesJob
GenerateGeodatabaseJob
GenerateOfflineMapJob
OfflineMapSyncJob
SyncGeodatabaseJob
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Tasks
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class Job<T>
Type Parameters
Name Description
T

The type of result returned by the operation

Remarks

A job can be paused and re-started and may involve multiple network requests.

Properties

Name Description
Error

Gets the error if one occurred during execution of the job. If no error has occurred, then null is returned.

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

GetResultAsync()

Gets the job's result

Pause()

Pauses execution of the job

Start()

Starts or resumes execution of the job

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.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0
In This Article
Back to top Copyright © 2022 Esri.