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
operations
Type: Microsoft.WindowsAzure.Scheduler.IJobOperationsReference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
jobId
Type: System.StringRequired. Id of the job to update.
parameters
Type: Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParametersRequired. Parameters supplied to the Update Job State operation.
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