Partager via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Prompt Members

Include Protected Members
Include Inherited Members

Represents information about what can be rendered, either text or an audio file, by the SpeechSynthesizer.

The Prompt type exposes the following members.

Constructors

  Name Description
Public method Prompt(String) Creates a new instance of the Prompt class and specifies the text to be spoken.
Public method Prompt(PromptBuilder) Creates a new instance of the Prompt class from a PromptBuilder object.
Public method Prompt(String, SynthesisTextFormat) Creates a new instance of the Prompt class and specifies the text to be spoken and whether its format is plain text or markup language.

Top

Properties

  Name Description
Public property IsCompleted Gets whether the Prompt has finished playing.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

See Also

Reference

Prompt Class

Microsoft.Speech.Synthesis Namespace