Gets the last segment for the session user on this interaction. LastSegmentForCurrentUser 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 LastSegmentForCurrentUser { get; }
Visual Basic
Public ReadOnly Property LastSegmentForCurrentUser As InteractionSegment
	Get

Field Value

The last segment for the current user.

Remarks

If the session user does not have a segment on this interaction, returns nullNothingnullptra null reference (Nothing in Visual Basic). Otherwise, returns the most recent segment for the session user.
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