Gets the HistoryItem with the specified ID.

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 HistoryItem this[
	InteractionId id
] { get; }
Visual Basic
Public ReadOnly Default Property Item ( _
	id As InteractionId _
) As HistoryItem
	Get

Parameters

id
Type: ININ.IceLib.Interactions..::..InteractionId
The InteractionId that indicates the interaction to retrieve the history for.

Field Value

The history data object for the specified interaction ID.

Remarks

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
System..::..ArgumentNullExceptionThe id was nullNothingnullptra null reference (Nothing in Visual Basic).
ININ.IceLib..::..NotCachedExceptionThere is no history data for the given InteractionId.
System..::..InvalidOperationExceptionThe interactions history is not being watched by this object.

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