IJobOperations::UpdateStateAsync Method (String^, JobUpdateStateParameters^, CancellationToken)
Update the state of a job.
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
Task<JobUpdateStateResponse^>^ UpdateStateAsync( String^ jobId, JobUpdateStateParameters^ parameters, CancellationToken cancellationToken )
Parameters
- jobId
-
Type:
System::String^
Id of the job to update.
- parameters
-
Type:
Microsoft.WindowsAzure.Scheduler.Models::JobUpdateStateParameters^
Parameters supplied to the Update Job State operation.
- cancellationToken
-
Type:
System.Threading::CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks::Task<JobUpdateStateResponse^>^The Update Job State operation response.
Show: