ClassifyDocumentOperation.GetValuesAsync(CancellationToken) Method

Definition

Gets the final result of the long-running operation asynchronously.

public override Azure.AsyncPageable<Azure.AI.TextAnalytics.ClassifyDocumentResultCollection> GetValuesAsync (System.Threading.CancellationToken cancellationToken = default);
override this.GetValuesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.TextAnalytics.ClassifyDocumentResultCollection>
Public Overrides Function GetValuesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ClassifyDocumentResultCollection)

Parameters

cancellationToken
CancellationToken

Returns

Remarks

Operation must complete successfully (HasValue is true) for it to provide values.

Applies to