IJobOperations.StopAsync Method (String, Guid, CancellationToken)
Stop the job identified by jobId. (see http://aka.ms/azureautomationsdk/joboperations for more information)
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Task<AzureOperationResponse> StopAsync(
string automationAccount,
Guid jobId,
CancellationToken cancellationToken
)
Parameters
- automationAccount
-
Type:
System.String
The automation account name.
- jobId
-
Type:
System.Guid
The job id.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>A standard service response including an HTTP status code and request ID.
Show: