JobOperationsExtensions.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 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)
Parameters
- operations
- IJobOperations
Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
- jobId
- String
Required. Id of the job to update.
- parameters
- JobUpdateStateParameters
Required. Parameters supplied to the Update Job State operation.
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