GetTaskStatus
Parameters
Name | Data Type | Description |
---|---|---|
key |
string required |
The authentication key |
taskId |
long required |
The task ID |
Example
//***************************************************
//
// Get Task Status
//
//***************************************************
// Create instance of the webservice
SurveyDeployerSoapClient surveyDeployer = new SurveyDeployerSoapClient();
// Get the status of a specific batch task
// Throw error if status = Aborted
TaskStatus taskStatus = surveyDeployer.GetTaskStatus(key,taskID);
if (taskStatus==TaskStatus.Aborted)
ThrowError();