Share via


Note

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

DtmfRecognitionRejectedEventArgs Class

Provides data for the DtmfRecognitionRejected event.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DtmfRecognitionRejectedEventArgs _
    Inherits RecognitionEventArgs
'Usage
Dim instance As DtmfRecognitionRejectedEventArgs
[SerializableAttribute]
public class DtmfRecognitionRejectedEventArgs : RecognitionEventArgs

Remarks

An instance of DtmfRecognitionRejectedEventArgs is created when the DtmfRecognitionEngine object raises the DtmfRecognitionRejected 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.

DtmfRecognitionRejectedEventArgs derives 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

DtmfRecognitionRejectedEventArgs Members

Microsoft.Speech.Recognition Namespace