共用方式為


SynthesizerState Enum

Definition

Enumerates values for the state of the SpeechSynthesizer.

public enum class SynthesizerState
public enum SynthesizerState
type SynthesizerState = 
Public Enum SynthesizerState
Inheritance
SynthesizerState

Fields

Name Value Description
Ready 0

Indicates that the SpeechSynthesizer is ready to generate speech from a prompt.

Speaking 1

Indicates that the SpeechSynthesizer is speaking.

Paused 2

Indicates that the SpeechSynthesizer is paused.

Remarks

The State property uses SynthesizerState to indicate the current state of the SpeechSynthesizer. See State for an example.

The PreviousState and State properties use SynthesizerState to indicate state of the SpeechSynthesizer when the StateChanged event is raised.

Applies to