IJobOperations.UpdateStateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update the state of a job.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse> UpdateStateAsync (string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateStateAsync : string * Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse>
Public Function UpdateStateAsync (jobId As String, parameters As JobUpdateStateParameters, cancellationToken As CancellationToken) As Task(Of JobUpdateStateResponse)
Parameters
- jobId
- String
Id of the job to update.
- parameters
- JobUpdateStateParameters
Parameters supplied to the Update Job State operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Update Job State operation response.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET