DocumentTranslationClient.GetSupportedDocumentFormatsAsync Method

Definition

Get the list of the document formats supported by the Document Translation service.

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Document.DocumentTranslationFileFormat>>> GetSupportedDocumentFormatsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedDocumentFormatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Document.DocumentTranslationFileFormat>>>
override this.GetSupportedDocumentFormatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Document.DocumentTranslationFileFormat>>>
Public Overridable Function GetSupportedDocumentFormatsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of DocumentTranslationFileFormat)))

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Applies to