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
<DefaultValueAttribute()> _
Public Property MaximumSilences As Integer
[DefaultValueAttribute()]
public int MaximumSilences { get; set; }
[DefaultValueAttribute()]
public:
property int MaximumSilences {
    int get ();
    void set (int value);
}
function get_maximumSilences();
function set_maximumSilences(value);

Exceptions

Exception Condition
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