Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
The RequestCancelOperation() method interrupts speech recognition and returns control to the caller. This method can be called at any point in the speech recognition process.
Syntax
public void RequestCancelOperation();
Remarks
The RequestCancelOperation() method is implemented by the SpeechRecognizer class. Custom implementations should raise the ISpeechRecognizerStateControl.AudioCaptureStateChanged event with a SpeechRecognitionAudioCaptureStateChangedEventArgs.State property value of SpeechRecognizerAudioCaptureState.Cancelling before stopping the speech recognition session, and then raise the event again with a State of Cancelled when finished.
For more information and implementation examples, see the SpeechRecognizer.RequestCancelOperation() method documentation.
Requirements
Minimum Supported Client |
Windows 8 |
Required Extensions |
Bing.Speech |
Namespace |