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
- dtmfRecognizer
Type: Microsoft.Speech.Recognition.DtmfRecognitionEngine
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if argument is null. |