Gets the consult transfer from interaction.

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 static ConsultTransfer GetConsultTransferFromInteraction(
	Interaction interaction
)
Visual Basic
Public Shared Function GetConsultTransferFromInteraction ( _
	interaction As Interaction _
) As ConsultTransfer

Parameters

interaction
Type: ININ.IceLib.Interactions..::..Interaction
The interaction.

Return Value

The consult transfer, if the interaction is a consult transfer, otherwise nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

If an interaction is a consult transfer the ConsultCallId attribute will be set. Use this method to recover the ConsultTransfer instance from the interaction.

This method is intended to be used to recover a Consult Transfer from an Interaction in case of a client crash. If you need to create a new Consult Transfer, use the MakeConsultTransfer(ConsultTransferParameters) method instead.

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