DetectAnsweringMachineActivity.MinimumUtteranceDurationToAssumeAnsweringMachine 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 minimum length of time of an answerer's response for which an answerer is assumed to be an answering machine.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
<GlobalizedCategoryAttribute("SpeechCategory")> _
<DefaultValueAttribute(GetType(TimeSpan), "00:00:04")> _
<GlobalizedDescriptionAttribute("DetectAnsweringMachineActivity_MinimumUtteranceDurationToAssumeAnsweringMachine")> _
<TypeConverterAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.ShortTimeSpanConverter, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")> _
Public Property MinimumUtteranceDurationToAssumeAnsweringMachine As TimeSpan
[GlobalizedCategoryAttribute("SpeechCategory")]
[DefaultValueAttribute(typeof(TimeSpan), "00:00:04")]
[GlobalizedDescriptionAttribute("DetectAnsweringMachineActivity_MinimumUtteranceDurationToAssumeAnsweringMachine")]
[TypeConverterAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.ShortTimeSpanConverter, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public TimeSpan MinimumUtteranceDurationToAssumeAnsweringMachine { get; set; }
Property Value
A TimeSpan that contains the minimum length of time of an answerer's response for which an answerer is assumed to be an answering machine. The default value is 4 seconds.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | An attempt is made to set MinimumUtteranceDurationToAssumeAnsweringMachine to a value less than TimeSpan.Zero. |
Remarks
The assumption that underlies this property is that an answering machine message is usually longer than a human's response. A response whose length is longer than MinimumUtteranceDurationToAssumeAnsweringMachine is assumed to come from an answering machine.
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
DetectAnsweringMachineActivity Class
DetectAnsweringMachineActivity Members
Microsoft.SpeechServer.Dialog Namespace
DetectAnsweringMachineActivity.MinimumUtteranceDurationToAssumeAnsweringMachineProperty Field
DetectAnsweringMachineActivity.MaximumUtteranceDurationToAssumePerson Property