Retrieves the status of the specified job.
Public Shared Function QueryJobStatus(
ByVal cache As ObjectCache,
ByVal userToken As String,
ByVal jobToken As String
) As StatusJobData
static StatusJobData^ QueryJobStatus(
Cache containing the status data.
Value indicating the user token of the job.
Value indicating the 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 StatusJobData returned from this method contain a clone of the object found in the cache and can be changed or stored by the application.
For an example, refer to StatusJobDataRunner.