ArcGIS API for WPF - Library Reference
CheckJobStatus Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > Geoprocessor Class : CheckJobStatus 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.
Sends a request to the geoprocessing task for the current state of the job identified by jobId.

Syntax

Visual Basic (Declaration) 
Public Function CheckJobStatus( _
   ByVal jobId As String _
) As JobInfo
C# 
public JobInfo CheckJobStatus( 
   string jobId
)

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.

Return Value

Returns a JobInfo object which contains the current status of the jobid submitted. this allows you to determine if the job is currently executing or if it finished sucessfuly or faild.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.