Udostępnij za pośrednictwem


JobOperationsExtensions.UpdateStateAsync Method

Definition

Update the state of a job.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse> UpdateStateAsync (this Microsoft.WindowsAzure.Scheduler.IJobOperations operations, string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters parameters);
static member UpdateStateAsync : Microsoft.WindowsAzure.Scheduler.IJobOperations * string * Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse>
<Extension()>
Public Function UpdateStateAsync (operations As IJobOperations, jobId As String, parameters As JobUpdateStateParameters) As Task(Of JobUpdateStateResponse)

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
String

Required. Id of the job to update.

parameters
JobUpdateStateParameters

Required. Parameters supplied to the Update Job State operation.

Returns

The Update Job State operation response.

Applies to