Condividi tramite


JobOperationsExtensions.KillAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobDetailRootJsonObject> KillAsync (this Microsoft.Azure.HDInsight.Job.IJobOperations operations, string jobId, System.Threading.CancellationToken cancellationToken = default);
static member KillAsync : Microsoft.Azure.HDInsight.Job.IJobOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobDetailRootJsonObject>
<Extension()>
Public Function KillAsync (operations As IJobOperations, jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobDetailRootJsonObject)

Parameters

operations
IJobOperations
jobId
String
cancellationToken
CancellationToken

Returns

Applies to