Sessions.GetSession Method (Int32)

Gets the session based on the callID.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As Sessions
Dim callId As Integer
Dim returnValue As Session

returnValue = instance.GetSession(callId)

Syntax

'Declaration
Public Overridable Function GetSession ( _
    callId As Integer _
) As Session
public virtual Session GetSession (
    int callId
)
public:
virtual Session^ GetSession (
    int callId
)
public Session GetSession (
    int callId
)
public function GetSession (
    callId : int
) : Session

Parameters

  • callId
    Specifies the call ID for which to search.

Return Value

A session or null if not found.

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Sessions Class
Sessions Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.