IJobOperations.GetAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the definition and status of a job.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobGetResponse> GetAsync (string jobId, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobGetResponse>
Public Function GetAsync (jobId As String, cancellationToken As CancellationToken) As Task(Of JobGetResponse)
Parameters
- jobId
- String
Id of the job to get.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get Job operation response.