TransferredTo Property
Gets or sets the device identifier associated with the transferred-to endpoint. Read/write.
Usage
ASP.NET markup: | <speech:TransferCall TransferredTo="..." /> |
Get value: | String = TransferCall.TransferredTo; |
Set value: | TransferCall.TransferredTo = String; |
Data type: | String |
Required: | No |
Remarks
Application authors can declare a value of the TransferredTo property, or use the SetTransferredTo method of the TransferCall client object.
Example
<script>
function myTCClientActivation()
{
TransferCall1.SetTransferredTo(SemanticItem1.value);
return true;
}
function myClientFailed(obj, cause) {
// OnClientFailed routine
return false;
}
</script>
<form id="Form1" method="post" runat="server">
...
<speech:QA id="QA1" runat="server">
<Answers>
<speech:Answer SemanticItem="SemanticItem1" XpathTrigger="/SML/text()"></speech:Answer>
</Answers>
<Reco ID="QA1_Reco">
<Grammars>
<speech:Grammar Src="grammars/digits.grxml" ID="QA1_Grammar1"></speech:Grammar>
</Grammars>
</Reco>
<Prompt InlinePrompt="Say the digit you want to be transferred to." ID="QA1_Prompt"></Prompt>
</speech:QA>
<speech:TransferCall
ID="TransferCall1"
AutoPostback="False"
ClientActivationFunction="myTCClientActivation"
OnClientFailed="MyClientFailed"
runat="server" />
...
</form>
See Also
TransferCall Class | TransferCall Constructor | TransferCall Members | TransferCall Properties | TransferCall Methods | TransferCall Events | TransferCall Remarks | TransferCall Client Object