GetAndConfirmActivity.ConfirmationTurnStarting Event
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.
Occurs when the confirmation phase turn begins.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
<GlobalizedDescriptionAttribute("DialogActivityCommon_ConfirmationTurnStarting")> _
<GlobalizedCategoryAttribute("SpeechEventsCategory")> _
Public Event ConfirmationTurnStarting As EventHandler(Of TurnStartingEventArgs)
[GlobalizedDescriptionAttribute("DialogActivityCommon_ConfirmationTurnStarting")]
[GlobalizedCategoryAttribute("SpeechEventsCategory")]
public event EventHandler<TurnStartingEventArgs> ConfirmationTurnStarting
Example
The following example sets a number of properties on getTrackingNumber, a GetAndConfirmActivity instance, and registers a handler for its ConfirmationTurnStarting event. The highlighted line identifies getTrackingNumber_ConfirmationTurnStarting as the event handler for this event.
this.getTrackingNumber = new Microsoft.SpeechServer.Dialog.GetAndConfirmActivity();
this.getTrackingNumber.CanBargeIn = true;
this.getTrackingNumber.ConfirmationThreshold = 0.75F;
this.getTrackingNumber.CompleteTimeout = System.TimeSpan.Parse("00:00:01.5000000");
this.getTrackingNumber.InitialSilenceTimeout = System.TimeSpan.Parse("00:00:01.5000000");
this.getTrackingNumber.Name = "GetTrackingNumber";
this.getTrackingNumber.UseDefaultGrammars = true;
this.getTrackingNumber.ConfirmationTurnStarting += new System.EventHandler<Microsoft.SpeechServer.Dialog.TurnStartingEventArgs>(this.getTrackingNumber_ConfirmationTurnStarting);
this.Activities.Add(this.getTrackingNumber);
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
GetAndConfirmActivity Class
GetAndConfirmActivity Members
Microsoft.SpeechServer.Dialog Namespace