Partilhar via


DenyRejectThreshold Property

  Microsoft Speech Technologies Homepage

Gets or sets the DenyRejectThreshold property value of QA controls that reference the control. Read/write.

Usage

ASP.NET markup: <speech:QAControlSettings DenyRejectThreshold="..." />
Get value: Float = QAControlSettings.DenyRejectThreshold;
Set value: QAControlSettings.DenyRejectThreshold = Float;
Data type: Float
Required: No

Remarks

For more information about the DenyRejectThreshold property of the QA control, see DenyRejectThreshold.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <QA
          FirstInitialTimeout="0"
          OnClientActive="MyClientActive"
          OnClientComplete="MyClientComplete"
          OnClientListening="MyClientListening"
          OnClientDisconnected="MyClientDisconnected"
          PlayOnce="False"
          XPathAcceptConfirms="SML/Yes"
          XPathDenyConfirms="SML/No"
          AcceptRejectThreshold="0.6"
          DenyRejectThreshold="0.5">

          <Prompt ... />
          <Reco ... >
            <Grammar ... />
          </Reco>
          <Dtmf/>
          <Answers>
            <Answer ... />
          </Answers>
          <ExtraAnswers>
            <Answer ... />
          </ExtraAnswers>
          <Confirms>
            <Answer ... />
          </Confirms>

        </QA>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:QA Settings="Settings1" runat="server">
    <!-- QA contents --!>
  </speech:QA>
  ...
</form>

See Also

QAControlSettings Class | QAControlSettings Constructor | QAControlSettings Members | QAControlSettings Properties | QAControlSettings Methods