ConsecutiveNoInputsSpeechEventActivity.MaximumNoInputs Property
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.
Gets or sets the maximum number of consecutive non-responses.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
<GlobalizedCategoryAttribute("SpeechCategory")> _
<GlobalizedDescriptionAttribute("ConsecutiveNoInputsSpeechEventActivity_MaximumNoInputs")> _
<DefaultValueAttribute(3)> _
Public Property MaximumNoInputs As Integer
[GlobalizedCategoryAttribute("SpeechCategory")]
[GlobalizedDescriptionAttribute("ConsecutiveNoInputsSpeechEventActivity_MaximumNoInputs")]
[DefaultValueAttribute(3)]
public int MaximumNoInputs { get; set; }
Property Value
The maximum number of consecutive non-responses. The default value is 3.
Remarks
Silences and unrecognized responses are considered non-responses.
Example
The following example creates a ConsecutiveNoInputsSpeechEventActivity instance and adds a GoToActivity to the Activities property on the instance. The example then sets MaximumNoInputs to 1 (the default value is 3) and sets the instance's Name property. Finally, the example adds the instance to the Activities property of the enclosing activity.
this.checkNotConfirmedNoInputs = new Microsoft.SpeechServer.Dialog.ConsecutiveNoInputsSpeechEventActivity();
this.checkNotConfirmedNoInputs.Activities.Add(this.GoToCheckIfNotConfirmed);
this.checkNotConfirmedNoInputs.MaximumNoInputs = 1;
this.checkNotConfirmedNoInputs.Name = "CheckNotConfirmedConsecutiveNoInputs";
this.checkNotConfirmedSpeechEventsActivity.Activities.Add(this.checkNotConfirmedNoInputs);
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
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
ConsecutiveNoInputsSpeechEventActivity Class
ConsecutiveNoInputsSpeechEventActivity Members
Microsoft.SpeechServer.Dialog Namespace
ConsecutiveNoInputsSpeechEventActivity Class