Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
StateChangedEventArgs.PreviousState Property
Gets the state of the SpeechSynthesizer before the StateChanged event.
Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Public ReadOnly Property PreviousState As SynthesizerState
    Get
'Usage
Dim instance As StateChangedEventArgs
Dim value As SynthesizerState
value = instance.PreviousState
public SynthesizerState PreviousState { get; }
Property Value
Type: Microsoft.Speech.Synthesis.SynthesizerState
The state of the synthesizer before the state changed.
Remarks
The PreviousState property represents the synthesizer state with a member of the SynthesizerState enumeration.