Share via


JobOperationsExtensions.BeginCancelAsync Method

Definition

Cancels the running job specified by the job ID.

public static System.Threading.Tasks.Task BeginCancelAsync (this Microsoft.Azure.Management.DataLake.Analytics.IJobOperations operations, string accountName, Guid jobIdentity, System.Threading.CancellationToken cancellationToken = default);
static member BeginCancelAsync : Microsoft.Azure.Management.DataLake.Analytics.IJobOperations * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginCancelAsync (operations As IJobOperations, accountName As String, jobIdentity As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IJobOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Analytics account to execute job operations on.

jobIdentity
Guid

Job identifier. Uniquely identifies the job across all jobs submitted to the service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to