IJobOperations.UpdateStateAsync Method (String, JobUpdateStateParameters, CancellationToken)
Update the state of a job.
Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
Syntax
Task<JobUpdateStateResponse> UpdateStateAsync(
string jobId,
JobUpdateStateParameters parameters,
CancellationToken cancellationToken
)
Task<JobUpdateStateResponse^>^ UpdateStateAsync(
String^ jobId,
JobUpdateStateParameters^ parameters,
CancellationToken cancellationToken
)
abstract UpdateStateAsync :
jobId:string *
parameters:JobUpdateStateParameters *
cancellationToken:CancellationToken -> Task<JobUpdateStateResponse>
Function UpdateStateAsync (
jobId As String,
parameters As JobUpdateStateParameters,
cancellationToken As CancellationToken
) As Task(Of JobUpdateStateResponse)
Parameters
jobId
Type: System.StringId of the job to update.
parameters
Type: Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParametersParameters supplied to the Update Job State operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<JobUpdateStateResponse>
The Update Job State operation response.
See Also
IJobOperations Interface
Microsoft.WindowsAzure.Scheduler Namespace
Return to top