Share via


DocumentTranslationOperation.CancelAsync(CancellationToken) Method

Definition

Cancel a running translation operation.

public virtual System.Threading.Tasks.Task CancelAsync (System.Threading.CancellationToken cancellationToken);
abstract member CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CancelAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A CancellationToken used for the service call.

Returns

Applies to