Share via


JobOperationsExtensions.YieldOperationAsync Method

Definition

Pauses the specified job and places it back in the job queue, behind other jobs of equal or higher importance, based on priority. (Only for use internally with Scope job type.)

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