SpeechSynthesizer.SpeakTextAsync(String, Object) method

Asynchronously speaks the content of a plain-text string.

Syntax

public IAsyncAction SpeakTextAsync(
  string content, 
  object userState
)
Public Function SpeakTextAsync(
  content As String,  
  userState As Object 
) As IAsyncAction
public:
IAsyncAction^ SpeakTextAsync(
  String^ content, 
  Object^ userState
)

Parameters

Return value

Type: IAsyncAction

The result of the asynchronous action.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Speech.Synthesis Windows::Phone::Speech::Synthesis [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]

See also

SpeechSynthesizer

SpeakTextAsync(String)