Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

DtmfRecognitionEngine.RecognizeAsync Method

Begins asynchronous recognition.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Sub RecognizeAsync
'Usage
Dim instance As DtmfRecognitionEngine

instance.RecognizeAsync()
public void RecognizeAsync()

Remarks

Recognition will end automatically after a single result is reported.

An InvalidOperationException will be thrown if the DtmfRecognitionEngine has no Grammar objects loaded, or if it is already active.

See Also

Reference

DtmfRecognitionEngine Class

DtmfRecognitionEngine Members

RecognizeAsync Overload

Microsoft.Speech.Recognition Namespace