Partilhar via


ConsecutiveNoInputsSpeechEventActivity.MaximumNoInputs Property

Gets or sets the maximum number of consecutive no-inputs that need to occur for the event to trigger. Silence and NoRecognition are both considered no-inputs. The default is 3.

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

Syntax

'Declaration
Public Property MaximumNoInputs As Integer
    Get
    Set
'Usage
Dim instance As ConsecutiveNoInputsSpeechEventActivity
Dim value As Integer

value = instance.MaximumNoInputs

instance.MaximumNoInputs = value
public int MaximumNoInputs { get; set; }

Property Value

Type: System.Int32

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown if trying to set the property to a value that is less than or equal to zero.

See Also

Reference

ConsecutiveNoInputsSpeechEventActivity Class

ConsecutiveNoInputsSpeechEventActivity Members

Microsoft.Rtc.Workflow.Activities Namespace