Share via


DocumentTranslationOperation.GetDocumentStatus Method

Definition

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

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

Parameters

documentId
String

ID of the document.

cancellationToken
CancellationToken

A CancellationToken used for the service call.

Returns

Applies to