SpeechRecognizer.Close SpeechRecognizer.Close SpeechRecognizer.Close SpeechRecognizer.Close SpeechRecognizer.Close Method

Definition

Disposes the speech recognizer by freeing, releasing, or resetting allocated resources.

public : void Close()
void Close() const;
// This member is not implemented in C#
' This member is not implemented in VB.Net
// This member is not implemented in JavaScript

Exceptions

ObjectDisposedException ObjectDisposedException ObjectDisposedException

Thrown if either RecognizeAsync or RecognizeWithUIAsync is in progress.

Remarks

If a SpeechContinuousRecognitionSession is underway, Close is functionally equivalent to calling CancelAsync.

See also