DocumentTranslationClient Class
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.
The client to use for interacting with the Azure Document Translation Service.
public class DocumentTranslationClient
type DocumentTranslationClient = class
Public Class DocumentTranslationClient
- Inheritance
-
DocumentTranslationClient
Constructors
DocumentTranslationClient() |
Protected constructor to allow mocking. |
DocumentTranslationClient(Uri, AzureKeyCredential) |
Initializes a new instance of DocumentTranslationClient class for the specified service instance. |
DocumentTranslationClient(Uri, AzureKeyCredential, DocumentTranslationClientOptions) |
Initializes a new instance of DocumentTranslationClient class for the specified service instance. |
DocumentTranslationClient(Uri, TokenCredential) |
Initializes a new instance of the DocumentTranslationClient class for the specified service instance. |
DocumentTranslationClient(Uri, TokenCredential, DocumentTranslationClientOptions) |
Initializes a new instance of the DocumentTranslationClient class for the specified service instance. |
Methods
GetSupportedDocumentFormats(CancellationToken) |
Get the list of the document formats supported by the Document Translation service. |
GetSupportedDocumentFormatsAsync(CancellationToken) |
Get the list of the document formats supported by the Document Translation service. |
GetSupportedGlossaryFormats(CancellationToken) |
Get the list of the glossary formats supported by the Document Translation service. |
GetSupportedGlossaryFormatsAsync(CancellationToken) |
Get the list of the glossary formats supported by the Document Translation service. |
GetTranslationStatuses(GetTranslationStatusesOptions, CancellationToken) |
Get the status results for submitted translation operations. |
GetTranslationStatusesAsync(GetTranslationStatusesOptions, CancellationToken) |
Get the status results for submitted translation operations. |
StartTranslation(DocumentTranslationInput, CancellationToken) |
Starts a translation operation which translates the document(s) in your source container to your TranslationTarget(s) in the given language. For document length limits, maximum batch size, and supported document formats, see . |
StartTranslation(IEnumerable<DocumentTranslationInput>, CancellationToken) |
Starts a translation operation which translates the document(s) in your source container to your TranslationTarget(s) in the given language. For document length limits, maximum batch size, and supported document formats, see . |
StartTranslationAsync(DocumentTranslationInput, CancellationToken) |
Starts a translation operation which translates the document(s) in your source container to your TranslationTarget(s) in the given language. For document length limits, maximum batch size, and supported document formats, see . |
StartTranslationAsync(IEnumerable<DocumentTranslationInput>, CancellationToken) |
Starts a translation operation which translates the document(s) in your source container to your TranslationTarget(s) in the given language. For document length limits, maximum batch size, and supported document formats, see . |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for