SpeechRecognizer.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disposes the speech recognizer by freeing, releasing, or resetting allocated resources.
public:
virtual void Close() = Close;
void Close();
// This member is not implemented in C#
function close()
' This member is not implemented in VB.NET
Implements
Exceptions
Thrown if either <xref href="Windows.Media.SpeechRecognition.SpeechRecognizer.RecognizeAsync?text=RecognizeAsync" /> or <xref href="Windows.Media.SpeechRecognition.SpeechRecognizer.RecognizeWithUIAsync?text=RecognizeWithUIAsync" /> is in progress.
Remarks
If a SpeechContinuousRecognitionSession is underway, Close is functionally equivalent to calling CancelAsync.