Share via


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

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