Share via


DocumentTranslationClient.GetSupportedDocumentFormats Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Applies to