Compartilhar via


Note

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

DtmfRecognitionEngine.InitialSilenceTimeout Property

Gets or sets the interval of silence that can precede DTMF input before recognition fails.

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

Syntax

'Declaration
Public Property InitialSilenceTimeout As TimeSpan
    Get
    Set
'Usage
Dim instance As DtmfRecognitionEngine
Dim value As TimeSpan

value = instance.InitialSilenceTimeout

instance.InitialSilenceTimeout = value
public TimeSpan InitialSilenceTimeout { get; set; }

Property Value

Type: System.TimeSpan

Remarks

If InitialSilenceTimeout expires, the engine will raise the DtmfRecognitionRejected event.

See Also

Reference

DtmfRecognitionEngine Class

DtmfRecognitionEngine Members

Microsoft.Speech.Recognition Namespace