Gets the duration of the Interaction as of the current time (using InitiationTime and DisconnectionTime). Duration is only available when InitiationTime, DisconnectionTime and State are being watched.

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


public TimeSpan Duration { get; }
Visual Basic
Public ReadOnly Property Duration As TimeSpan

Field Value

The duration.


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

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.


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 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also