Udostępnij za pośrednictwem


JobOperationsExtensions.CancelAsync Method

Definition

Cancels the running job specified by the job ID.

public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.DataLake.Analytics.IJobOperations operations, string accountName, Guid jobIdentity, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.DataLake.Analytics.IJobOperations * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelAsync (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