다음을 통해 공유


VoiceProfileClient.GetAllProfilesAsync(VoiceProfileType) Method

Definition

Gets all voice profiles of a given profile type.

public System.Threading.Tasks.Task<System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.CognitiveServices.Speech.Speaker.VoiceProfile>> GetAllProfilesAsync (Microsoft.CognitiveServices.Speech.Speaker.VoiceProfileType voiceProfileType);
member this.GetAllProfilesAsync : Microsoft.CognitiveServices.Speech.Speaker.VoiceProfileType -> System.Threading.Tasks.Task<System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.CognitiveServices.Speech.Speaker.VoiceProfile>>
Public Function GetAllProfilesAsync (voiceProfileType As VoiceProfileType) As Task(Of ReadOnlyCollection(Of VoiceProfile))

Parameters

voiceProfileType
VoiceProfileType

A voice profile type.

Returns

An asynchronous operation representing the result of getting a collection of voice profiles.

Applies to