Share via


CallOnHoldTimeoutEventActivity.CallOnHoldTimeout Property

Gets or sets the duration of time the call is on hold after which the CallOnHoldTimeoutEventActivity is executed. Thee default is 5 minutes.

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

Syntax

'Declaration
<TypeConverterAttribute(GetType(TimeSpanConverter))> _
Public Property CallOnHoldTimeout As TimeSpan
    Get
    Set
'Usage
Dim instance As CallOnHoldTimeoutEventActivity
Dim value As TimeSpan

value = instance.CallOnHoldTimeout

instance.CallOnHoldTimeout = value
[TypeConverterAttribute(typeof(TimeSpanConverter))]
public TimeSpan CallOnHoldTimeout { get; set; }

Property Value

Type: System.TimeSpan

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown if trying to set the property to a value which is less than or equal to TimeSpan.Zero.

See Also

Reference

CallOnHoldTimeoutEventActivity Class

CallOnHoldTimeoutEventActivity Members

Microsoft.Rtc.Workflow.Activities Namespace