Bagikan melalui


AbstractiveSummarizeOperation.CancelAsync(CancellationToken) Method

Definition

Cancels the long-running operation, provided that it is still pending or running.

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

The CancellationToken controlling the lifetime of the request.

Returns

Applies to