DocumentTranslationOperation.GetDocumentStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.