Gets the duration of the Interaction as of the time it joined a workgroup queue (using WorkgroupQueueTimestamp and DisconnectionTime). TimeInWorkgroupQueue is only available when WorkgroupQueueTimestamp, DisconnectionTime and State are being watched.

Namespace: ININ.IceLib.Interactions
Assembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public TimeSpan TimeInWorkgroupQueue { get; }
Visual Basic
Public ReadOnly Property TimeInWorkgroupQueue As TimeSpan
	Get

Field Value

The duration.

Remarks

This is a helper that returns the duration from the WorkgroupQueueTimestamp until either the DisconnectionTime (if disconnected) or the current time (if connected).

Note
Accessing this property before a watch is started which includes this property raises a NotCachedException. A watch must be started first. For more information on watches see How Watches Work.

Exceptions

ExceptionCondition
ININ.IceLib..::..NotCachedExceptionThe associated attribute is not being watched.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 1 and beyond.

See Also