ConsecutiveNoRecognitionsSpeechEventActivity Constructor ()
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.
Initializes a new instance of the ConsecutiveNoRecognitionsSpeechEventActivity class.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
Public Sub New
public ConsecutiveNoRecognitionsSpeechEventActivity ()
Remarks
The default constructor initializes any fields to their default values.
Example
The following example creates a ConsecutiveNoRecognitionsSpeechEventActivity instance and adds two other objects to the Activities property on the instance. The example then sets MaximumNoRecognitions to 3 (its default value), sets Name, and adds the instance to the Activities property on the enclosing activity.
this.consecutiveNoRecos = new Microsoft.SpeechServer.Dialog.ConsecutiveNoRecognitionsSpeechEventActivity();
this.consecutiveNoRecos.Activities.Add(this.NoRecoTriesExceeded);
this.consecutiveNoRecos.Activities.Add(this.ConsecutiveNoRecognitionGoToOneMoment);
this.consecutiveNoRecos.MaximumNoRecognitions = 3;
this.consecutiveNoRecos.Name = "consecutiveNoRecognitions";
this.OrderStatusSpeechEventsActivity.Activities.Add(this.consecutiveNoRecos);
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
ConsecutiveNoRecognitionsSpeechEventActivity Class
ConsecutiveNoRecognitionsSpeechEventActivity Members
Microsoft.SpeechServer.Dialog Namespace
ConsecutiveNoRecognitionsSpeechEventActivity Class
MaximumNoRecognitions