Share via


TextAnalysisAuthoringClient.GetSupportedLanguages Method

Definition

Overloads

GetSupportedLanguages(Nullable<TextAuthoringProjectKind>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists the supported languages.

GetSupportedLanguages(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Lists the supported languages.

GetSupportedLanguages(Nullable<TextAuthoringProjectKind>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Source:
TextAnalysisAuthoringClient.cs

Lists the supported languages.

public virtual Azure.Pageable<Azure.AI.Language.Text.Authoring.TextAuthoringSupportedLanguage> GetSupportedLanguages(Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind? projectKind = default, int? maxCount = default, int? skip = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedLanguages : Nullable<Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind> * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.Language.Text.Authoring.TextAuthoringSupportedLanguage>
override this.GetSupportedLanguages : Nullable<Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind> * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.Language.Text.Authoring.TextAuthoringSupportedLanguage>
Public Overridable Function GetSupportedLanguages (Optional projectKind As Nullable(Of TextAuthoringProjectKind) = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TextAuthoringSupportedLanguage)

Parameters

projectKind
Nullable<TextAuthoringProjectKind>

The project kind, default value is CustomSingleLabelClassification.

maxCount
Nullable<Int32>

The number of result items to return.

skip
Nullable<Int32>

The number of result items to skip.

maxpagesize
Nullable<Int32>

The maximum number of result items per page.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

GetSupportedLanguages(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)

Source:
TextAnalysisAuthoringClient.cs

[Protocol Method] Lists the supported languages.

public virtual Azure.Pageable<BinaryData> GetSupportedLanguages(string projectKind, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context);
abstract member GetSupportedLanguages : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetSupportedLanguages : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetSupportedLanguages (projectKind As String, maxCount As Nullable(Of Integer), skip As Nullable(Of Integer), maxpagesize As Nullable(Of Integer), context As RequestContext) As Pageable(Of BinaryData)

Parameters

projectKind
String

The project kind, default value is CustomSingleLabelClassification. Allowed values: "CustomSingleLabelClassification" | "CustomMultiLabelClassification" | "CustomEntityRecognition" | "CustomAbstractiveSummarization" | "CustomHealthcare" | "CustomTextSentiment".

maxCount
Nullable<Int32>

The number of result items to return.

skip
Nullable<Int32>

The number of result items to skip.

maxpagesize
Nullable<Int32>

The maximum number of result items per page.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The Pageable<T> from the service containing a list of BinaryData objects. Details of the body schema for each item in the collection are in the Remarks section below.

Exceptions

Service returned a non-success status code.

Applies to