DocumentTranslationOperation.GetDocumentStatusAsync 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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET