VoiceProfileClient.GetAllProfilesAsync(VoiceProfileType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.