Freigeben über


EndSilence Property for French (Canada)

  Microsoft Speech Technologies Homepage

Gets or sets the EndSilence property of QA controls that are created by the control. Read/write.

Usage

ASP.NET markup: <speech:ApplicationControl EndSilence="..." />
Get value: Int = ApplicationControl.EndSilence;
Set value: ApplicationControl.EndSilence = Int;
Data type: Int
Required: No

Remarks

See QA.Reco.EndSilence.

Example

The following example demonstrates the EndSilence property that is used in a SocialSecurityNumber Application Speech Control.

<form id="Form1" method="post" runat="server">
  ...
  <speech:semanticmap id="SemanticMap1" runat="server">
      <speech:SemanticItem id="SemItemSSN" runat="server" BindOnChanged="True"
        TargetElement="TextBoxYear" TargetAttribute="value" >
      </speech:SemanticItem>
  </speech:semanticmap>

  <speech:SocialSecurityNumber id="SSN1" runat="server"
    QuestionPrompt="quel est votre numéro d'assurance sociale?" 
    Separator="-"
    BabbleTimeout="5000"
    FirstInitialTimeout="0"
    EndSilence="2500"
    InitialTimeout="5000"
    MaxTimeout="5000"
    SemanticItem="SemItemSSN">
  </speech:SocialSecurityNumber>

  <asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
  ...
</form>

See Also

ApplicationControl Class | ApplicationControl Constructor | ApplicationControl Members | ApplicationControl Properties | ApplicationControl Methods | ApplicationControl Events | ApplicationControl Remarks