Share via


ConsecutiveSilencesInstantMessagingEventActivity.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
'Usage
Dim instance As ConsecutiveSilencesInstantMessagingEventActivity
Dim value As Integer

value = instance.MaximumSilences

instance.MaximumSilences = value
public int MaximumSilences { 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

ConsecutiveSilencesInstantMessagingEventActivity Class

ConsecutiveSilencesInstantMessagingEventActivity Members

Microsoft.Rtc.Workflow.Activities Namespace