共用方式為


JobsOperationsExtensions.CancelJobAsync Method

Definition

Cancel Job

public static System.Threading.Tasks.Task CancelJobAsync (this Microsoft.Azure.Management.Media.IJobsOperations operations, string resourceGroupName, string accountName, string transformName, string jobName, System.Threading.CancellationToken cancellationToken = default);
static member CancelJobAsync : Microsoft.Azure.Management.Media.IJobsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelJobAsync (operations As IJobsOperations, resourceGroupName As String, accountName As String, transformName As String, jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IJobsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

transformName
String

The Transform name.

jobName
String

The Job name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Cancel a Job.

Applies to