Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
SpeechSynthesizer.Dispose Method
Disposes the SpeechSynthesizer object and releases resources used during the session.
Namespace: Microsoft.Speech.Synthesis
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As SpeechSynthesizer
instance.Dispose()
public void Dispose()