Share via


ConversationAnalysisAuthoringClient.GetSupportedLanguagesAsync Method

Definition

Overloads

GetSupportedLanguagesAsync(ConversationAuthoringProjectKind, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists the supported languages for the given project type.

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

[Protocol Method] Lists the supported languages for the given project type.

GetSupportedLanguagesAsync(ConversationAuthoringProjectKind, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Source:
ConversationAnalysisAuthoringClient.cs

Lists the supported languages for the given project type.

public virtual Azure.AsyncPageable<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage> GetSupportedLanguagesAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default, int? skip = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedLanguagesAsync : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage>
override this.GetSupportedLanguagesAsync : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage>
Public Overridable Function GetSupportedLanguagesAsync (projectKind As ConversationAuthoringProjectKind, 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 AsyncPageable(Of ConversationAuthoringSupportedLanguage)

Parameters

projectKind
ConversationAuthoringProjectKind

The project kind.

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

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

Source:
ConversationAnalysisAuthoringClient.cs

[Protocol Method] Lists the supported languages for the given project type.

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

Parameters

projectKind
String

The project kind. Allowed values: "Conversation" | "Orchestration" | "CustomConversationSummarization".

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 AsyncPageable<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

projectKind is null.

Service returned a non-success status code.

Applies to