Share via


DocumentTranslationOperation.GetValuesAsync(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

Returns

Remarks

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

Applies to