Compartir a través de


CallProvider.ReplaceDtmfRecognizer Method

Replaces the DtmfRecognitionEngine object. This method can be used to replace the recognizer object created as part of the CallProvider object. This is useful in cases where a large grammar has been preloaded in a recognizer.

Namespace:  Microsoft.Rtc.Workflow.Common
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Sub ReplaceDtmfRecognizer ( _
    dtmfRecognizer As DtmfRecognitionEngine _
)
'Usage
Dim instance As CallProvider
Dim dtmfRecognizer As DtmfRecognitionEngine

instance.ReplaceDtmfRecognizer(dtmfRecognizer)
public void ReplaceDtmfRecognizer(
    DtmfRecognitionEngine dtmfRecognizer
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if argument is null.

See Also

Reference

CallProvider Class

CallProvider Members

Microsoft.Rtc.Workflow.Common Namespace