Retrieves the status of the specified job.
public static CompareJobData QueryJobStatus(
ObjectCache cache,
string userToken,
string jobToken
)
cache
Cache containing the status data.
userToken
Value indicating the user token of the job.
jobToken
Value indicating the job token of the job.
Data containing the last status of this job if found; otherwise, null if no such job was found.
QueryJobStatus is the main method of communication between the application and the runner to obtain the status of the job. The CompareJobData returned from this method contains a clone of the object found in the cache and can be changed or stored by the application.