XPathDenyConfirms Property
Gets or sets the path in the SML recognition results indicating that the confirm items were denied. Read/write.
Usage
ASP.NET markup: | <speech:QA XPathDenyConfirms="..." /> |
Get value: | String = QA.XPathDenyConfirms; |
Set value: | QA.XPathDenyConfirms = String; |
Data type: | String |
Required: | No |
Remarks
If the Confirms collection of the QA control is not empty and the XPathDenyConfirms property is not set, the control throws the ArgumentNullException.
If the XPathDenyConfirms property is specified in a QA without a Confirms collection, it is ignored. XPathDenyConfirms must be a valid XML path. An invalid XML path causes a redirection to the default error page during run time.
Example
<form id="Form1" method="post" runat="server">
...
<Speech:QA ID="CfmToppingSize" XPathAcceptConfirms="/SML/Accept" XPathDenyConfirms="/SML/Deny"
FirstInitialTimeout="1000" runat="server">
<Prompt PromptSelectFunction="CfmToppingSizePrompt" BargeIn="False" ID="Prompt3"></Prompt>
<Reco InitialTimeout="3000" BabbleTimeout="10000" EndSilence="1000" Reject="0.5" ID="Reco3">
<Grammars>
<Speech:Grammar Src="Grammars/CfmToppingSize.grxml" ID="Grammar3"></Speech:Grammar>
</Grammars>
</Reco>
<Confirms>
<Speech:Answer ConfirmThreshold="1" SemanticItem="siTopping" ID="Topping_QACfmToppingSize" XPathTrigger="/SML/Correction/Topping"></Speech:Answer>
<Speech:Answer ConfirmThreshold="1" SemanticItem="siSize" ID="Size_QACfmToppingSize" XPathTrigger="/SML/Correction/Size"></Speech:Answer>
</Confirms>
</Speech:QA>
...
</form>
See Also
QA Class | QA Constructor | QA Members | QA Properties | QA Methods | QA Events | QA Remarks | QA Client Object