다음을 통해 공유


ConnectionRetryInterval Property

  Microsoft Speech Technologies Homepage

Gets or sets the interval, in seconds, between attempts by the control to obtain a phone line from the Telephony Interface Manager. Read/write.

Usage

ASP.NET markup: <speech:MakeCall ConnectionRetryInterval="..." />
Get value: Integer = MakeCall.ConnectionRetryInterval;
Set value: MakeCall.ConnectionRetryInterval = Integer;
Data type: Integer
Required: No; Default: 10

Remarks

The ConnectionRetryTimeout property defines the amount of time during which the control will attempt to obtain a phone line in order to make a call. The ConnectionRetryInterval property defines the interval between retries. The number of retries can be calculated by dividing the value of ConnectionRetryTimeout by the value of ConnectionRetryInterval.

The value of the ConnectionRetryInterval property is an integer between 1 and 65536. The default value is 10.

Example

<script>
  function myClientConnected(obj) {
    // OnClientConnected routine
    return true;
  }
  function myClientFailed(obj, number) {
    // OnClientFailed routine
    return false;
  }
</script>
<form id="Form1" method="post" runat="server">
  ...
  <speech:MakeCall 
    ID="MakeCall1"  
    autopostback="False"
    CallingDevice="0"
    CalledDirectoryNumber="95551212"
    ConnectionRetryInterval="5"
    ConnectionRetryTimeout="60"
    OnClientConnected="myClientConnected"
    OnClientFailed="myClientFailed"
    runat="server" />
  ...
</form>

See Also

MakeCall Class | MakeCall Constructor | MakeCall Members | MakeCall Properties | MakeCall Methods | MakeCall Events | MakeCall Remarks | MakeCall Client Object