Share via


ConsecutiveSilencesSpeechEventActivity.MaximumSilences Property

Gets or sets the maximum number of consecutive silences that need to occur for the event to trigger. The default is 3.

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

Syntax

'Declaration
Public Property MaximumSilences As Integer
    Get
    Set
public int MaximumSilences { get; set; }
public:
property int MaximumSilences {
    int get ();
    void set (int value);
}
function set_maximumSilences(value);

Exceptions

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

See Also

ConsecutiveSilencesSpeechEventActivity Class

Microsoft.Rtc.Workflow.Activities Namespace