다음을 통해 공유


VoiceProfileClient.CreateProfileAsync(VoiceProfileType, String) Method

Definition

Creates a voice profile as an asynchronous operation.

public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.Speaker.VoiceProfile> CreateProfileAsync (Microsoft.CognitiveServices.Speech.Speaker.VoiceProfileType voiceProfileType, string locale);
member this.CreateProfileAsync : Microsoft.CognitiveServices.Speech.Speaker.VoiceProfileType * string -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.Speaker.VoiceProfile>
Public Function CreateProfileAsync (voiceProfileType As VoiceProfileType, locale As String) As Task(Of VoiceProfile)

Parameters

voiceProfileType
VoiceProfileType

A voice profile type.

locale
String

a locale, e.g "en-us"

Returns

An asynchronous operation representing the result of creating a voice profile.

Remarks

See also: Text-dependent verification

Applies to