Partager via


Sessions.GetSession Method

Definition

Overloads

GetSession(Guid)

Gets the session based on the sessionID.

GetSession(Int32)

Gets the session based on the callID.

GetSession(String)

Gets the session based on the customer ID.

GetSession(Guid)

Gets the session based on the sessionID.

public:
 virtual Microsoft::Uii::Csr::Session ^ GetSession(Guid sessionId);
public virtual Microsoft.Uii.Csr.Session GetSession (Guid sessionId);
abstract member GetSession : Guid -> Microsoft.Uii.Csr.Session
override this.GetSession : Guid -> Microsoft.Uii.Csr.Session
Public Overridable Function GetSession (sessionId As Guid) As Session

Parameters

sessionId
Guid

Specifies the session ID for which to search.

Returns

A session or null if not found

Applies to

GetSession(Int32)

Gets the session based on the callID.

public:
 virtual Microsoft::Uii::Csr::Session ^ GetSession(int callId);
public virtual Microsoft.Uii.Csr.Session GetSession (int callId);
abstract member GetSession : int -> Microsoft.Uii.Csr.Session
override this.GetSession : int -> Microsoft.Uii.Csr.Session
Public Overridable Function GetSession (callId As Integer) As Session

Parameters

callId
Int32

Specifies the call ID for which to search.

Returns

A session or null if not found.

Remarks

Do not return a session for -1 callID since that just means no call.

Applies to

GetSession(String)

Gets the session based on the customer ID.

public:
 virtual Microsoft::Uii::Csr::Session ^ GetSession(System::String ^ customerId);
public virtual Microsoft.Uii.Csr.Session GetSession (string customerId);
abstract member GetSession : string -> Microsoft.Uii.Csr.Session
override this.GetSession : string -> Microsoft.Uii.Csr.Session
Public Overridable Function GetSession (customerId As String) As Session

Parameters

customerId
String

Specifies the customer ID for which to search.

Returns

A session or null if not found

Applies to