Share via


SpeechQuestionAnswerActivity.CompleteTimeout Property

Gets or sets the length of silence required following user speech before the speech recognizer finalizes a result. The default is 0.5 seconds.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
<TypeConverterAttribute(GetType(TimeSpanConverter))> _
Public Property CompleteTimeout As TimeSpan
    Get
    Set
'Usage
Dim instance As SpeechQuestionAnswerActivity
Dim value As TimeSpan

value = instance.CompleteTimeout

instance.CompleteTimeout = value
[TypeConverterAttribute(typeof(TimeSpanConverter))]
public TimeSpan CompleteTimeout { get; set; }

Property Value

Type: System.TimeSpan

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown if trying to set the property to a value which is less than TimeSpan.Zero.

See Also

Reference

SpeechQuestionAnswerActivity Class

SpeechQuestionAnswerActivity Members

Microsoft.Rtc.Workflow.Activities Namespace