Compartilhar via


JobOperationsExtensions.UpdateStateAsync Método

Definição

Atualize o estado de um trabalho.

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)

Parâmetros

operations
IJobOperations

Referência ao Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
String

Obrigatórios. ID do trabalho a ser atualizado.

parameters
JobUpdateStateParameters

Obrigatórios. Parâmetros fornecidos para a operação Atualizar Estado do Trabalho.

Retornos

A resposta da operação Atualizar Estado do Trabalho.

Aplica-se a