Partilhar via


Note

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

DtmfRecognizedEventArgs Class

Provides data for the DtmfRecognized event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Speech.Recognition.RecognitionEventArgs
      Microsoft.Speech.Recognition.DtmfRecognizedEventArgs

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

Syntax

'Declaration
Public Class DtmfRecognizedEventArgs _
    Inherits RecognitionEventArgs
'Usage
Dim instance As DtmfRecognizedEventArgs
public class DtmfRecognizedEventArgs : RecognitionEventArgs

Remarks

An instance of DtmfRecognizedEventArgs is created when the DtmfRecognitionEngine object raises the DtmfRecognized event. To obtain the information about the tone that caused the event to be raised, access the TerminationTone property in the handler for the event.

DtmfRecognizedEventArgs is derived from RecognitionEventArgs.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DtmfRecognizedEventArgs Members

Microsoft.Speech.Recognition Namespace