Gets the last segment on this interaction. LastSegment is only available if the InteractionConnectionSegments attribute is 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 InteractionSegment LastSegment { get; }
Visual Basic
Public ReadOnly Property LastSegment As InteractionSegment
	Get

Field Value

The last segment.

Remarks

If there are no segments on this interaction, returns nullNothingnullptra null reference (Nothing in Visual Basic). Otherwise, returns the most recent segment.
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 GA and beyond.

See Also