Share via


MediaJobResource.CancelJobAsync(CancellationToken) Method

Definition

Cancel a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob
  • Operation Id: Jobs_CancelJob
public virtual System.Threading.Tasks.Task<Azure.Response> CancelJobAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelJobAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to