共用方式為


IJobOperations.UpdateStateAsync Method

Definition

Update the state of a job.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse> UpdateStateAsync (string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateStateAsync : string * Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse>
Public Function UpdateStateAsync (jobId As String, parameters As JobUpdateStateParameters, cancellationToken As CancellationToken) As Task(Of JobUpdateStateResponse)

Parameters

jobId
String

Id of the job to update.

parameters
JobUpdateStateParameters

Parameters supplied to the Update Job State operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Update Job State operation response.

Applies to