Share via


JobOperationsExtensions.UpdateStateAsync Method (IJobOperations, String, JobUpdateStateParameters)

 

Update the state of a job.

Namespace:   Microsoft.WindowsAzure.Scheduler
Assembly:  Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Syntax

public static Task<JobUpdateStateResponse> UpdateStateAsync(
    this IJobOperations operations,
    string jobId,
    JobUpdateStateParameters parameters
)
public:
[ExtensionAttribute]
static Task<JobUpdateStateResponse^>^ UpdateStateAsync(
    IJobOperations^ operations,
    String^ jobId,
    JobUpdateStateParameters^ parameters
)
static member UpdateStateAsync : 
        operations:IJobOperations *
        jobId:string *
        parameters:JobUpdateStateParameters -> Task<JobUpdateStateResponse>
<ExtensionAttribute>
Public Shared Function UpdateStateAsync (
    operations As IJobOperations,
    jobId As String,
    parameters As JobUpdateStateParameters
) As Task(Of JobUpdateStateResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<JobUpdateStateResponse>

The Update Job State operation response.

See Also

JobOperationsExtensions Class
Microsoft.WindowsAzure.Scheduler Namespace

Return to top