Udostępnij za pośrednictwem


DocumentTranslationOperation.GetDocumentStatusAsync Method

Definition

Get the status of a specific document in the translation operation.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Translation.Document.DocumentStatusResult>> GetDocumentStatusAsync (string documentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDocumentStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Translation.Document.DocumentStatusResult>>
override this.GetDocumentStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Translation.Document.DocumentStatusResult>>
Public Overridable Function GetDocumentStatusAsync (documentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DocumentStatusResult))

Parameters

documentId
String

ID of the document.

cancellationToken
CancellationToken

A CancellationToken used for the service call.

Returns

Applies to