Share via


Async Property

  Microsoft Speech Technologies Homepage

Gets or sets the Async property value of Prompt controls that reference the control. Read/write.

Usage

ASP.NET markup: <speech:PromptControlSettings Async="..." />
Get value: String = PromptControlSettings.Async;
Set value: PromptControlSettings.Async = String;
Data type: String
Required: No

Remarks

For more information about the Async property of the Prompt control, see Async.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <QA ... />
          <Prompt
            BargeIn="True"
            Lang="en-US"
            OnClientBargeIn="MyClientBargeIn"
            OnClientError="MyClientError"
            PreFetch="False"
            Async="True"
            PreFlush="True"
            Type="audio/x-wav" >
            <Params>
              <Param name="BargeInType" value="Speech"/>
            </Params>
            <PromptDatabases/>
          </Prompt>
        </QA>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:QA Settings="Settings1" runat="server">
    <speech:Prompt ... />
  </speech:QA>
  ...
</form>

See Also

PromptControlSettings Class | PromptControlSettings Constructor | PromptControlSettings Members | PromptControlSettings Properties | PromptControlSettings Methods