Share via


ApplicationControl.EndSilence Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

Namespace: Microsoft.Speech.Web.UI
Assembly: Microsoft.Speech.Web (in microsoft.speech.web.dll)

Syntax

'Declaration
<DefaultValueAttribute(1000)> _
<SRDescriptionAttribute("All_EndSilence")> _
<BindableAttribute(True)> _
<SRCategoryAttribute("Category_Speech")> _
Public Property EndSilence As Integer
[DefaultValueAttribute(1000)] 
[SRDescriptionAttribute("All_EndSilence")] 
[BindableAttribute(true)] 
[SRCategoryAttribute("Category_Speech")] 
public int EndSilence { get; set; }

Remarks

Example

The following example demonstrates the EndSilence property that is used in a SocialSecurityNumberApplication 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="What is your Social Security Number?" 
    Separator="-"
    BabbleTimeout="5000"
    FirstInitialTimeout="0"
    EndSilence="2500"
    InitialTimeout="5000"
    MaxTimeout="5000"
    SemanticItem="SemItemSSN">
  </speech:SocialSecurityNumber>

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

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

ApplicationControl Class
ApplicationControl Members
Microsoft.Speech.Web.UI Namespace