Share via


ConsecutiveNoRecognitionsInstantMessagingEventActivity.MaximumNoRecognitions Property

Gets or sets the maximum number of consecutive no-recognitions 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 MaximumNoRecognitions As Integer
    Get
    Set
'Usage
Dim instance As ConsecutiveNoRecognitionsInstantMessagingEventActivity
Dim value As Integer

value = instance.MaximumNoRecognitions

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

ConsecutiveNoRecognitionsInstantMessagingEventActivity Class

ConsecutiveNoRecognitionsInstantMessagingEventActivity Members

Microsoft.Rtc.Workflow.Activities Namespace