IJobOperations.CancelAsync Method (String, String, Guid, CancellationToken)
Cancels the running job specified by the job ID.
Namespace: Microsoft.Azure.Management.DataLake.AnalyticsJob
Assembly: Microsoft.Azure.Management.DataLake.AnalyticsJob (in Microsoft.Azure.Management.DataLake.AnalyticsJob.dll)
Syntax
Task<AzureOperationResponse> CancelAsync(
string resourceGroupName,
string accountName,
Guid jobIdentity,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ CancelAsync(
String^ resourceGroupName,
String^ accountName,
Guid jobIdentity,
CancellationToken cancellationToken
)
abstract CancelAsync :
resourceGroupName:string *
accountName:string *
jobIdentity:Guid *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function CancelAsync (
resourceGroupName As String,
accountName As String,
jobIdentity As Guid,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
resourceGroupName
Type: System.StringThe name of the resource group.
accountName
Type: System.StringThe name of the Data Lake Analytics account to cancel the job for
jobIdentity
Type: System.GuidJobInfo ID to cancel.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IJobOperations Interface
Microsoft.Azure.Management.DataLake.AnalyticsJob Namespace
Return to top