Partager via


JobOperationsExtensions.UpdateStateAsync Méthode

Définition

Mettez à jour l’état d’un travail.

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)

Paramètres

operations
IJobOperations

Référence à Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
String

Obligatoire. ID du travail à mettre à jour.

parameters
JobUpdateStateParameters

Obligatoire. Paramètres fournis à l’opération Mettre à jour l’état du travail.

Retours

Réponse de l’opération Mettre à jour l’état du travail.

S’applique à