Share via


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
[TypeConverterAttribute(typeof(TimeSpanConverter))]
public TimeSpan CallOnHoldTimeout { get; set; }
[TypeConverterAttribute(typeof(TimeSpanConverter))]
public:
property TimeSpan CallOnHoldTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
function get_callOnHoldTimeout();
function set_callOnHoldTimeout(value);

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

CallOnHoldTimeoutEventActivity Class

Microsoft.Rtc.Workflow.Activities Namespace