Condividi tramite


DocumentTranslationClient.GetSupportedGlossaryFormatsAsync Method

Definition

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

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Document.DocumentTranslationFileFormat>>> GetSupportedGlossaryFormatsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedGlossaryFormatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Document.DocumentTranslationFileFormat>>>
override this.GetSupportedGlossaryFormatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Document.DocumentTranslationFileFormat>>>
Public Overridable Function GetSupportedGlossaryFormatsAsync (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