ArcGIS Runtime SDK for WPF - Library Reference
CheckJobStatusTaskAsync(String,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > Geoprocessor Class > CheckJobStatusTaskAsync Method : CheckJobStatusTaskAsync(String,CancellationToken) Method

jobId
A string that uniquely identifies a job on the server. It is created when a job is submitted for execution and later used to check its status and retrieve the results.
cancellationToken
The cancellation token for cancelling task.
Sends a request to the geoprocessing task for the current state of the job identified by jobId.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CheckJobStatusTaskAsync( _
   ByVal jobId As String, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of JobInfo)
C# 
public Task<JobInfo> CheckJobStatusTaskAsync( 
   string jobId,
   CancellationToken cancellationToken
)

Parameters

jobId
A string that uniquely identifies a job on the server. It is created when a job is submitted for execution and later used to check its status and retrieve the results.
cancellationToken
The cancellation token for cancelling task.

Return Value

a Task object with JobInfo upon successful completion. Otherwise, the Task.Exception is set.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.