Dela via


AnalyzeActionsOperation.CancelAsync(CancellationToken) Method

Definition

Cancels a pending or running AnalyzeActionsOperation.

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

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Task to track the service request.

Exceptions

Cancellation not supported by API versions v3.0, v3.1.

Applies to