Udostępnij za pośrednictwem


DocumentTranslationOperation.GetValues(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

Returns

Remarks

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

Applies to