AgentDesktopSessions.CreateSession Method (String, Int32, Object, Guid)

Creates a new desktop session object

Namespace: Microsoft.Uii.Desktop.SessionManager
Assembly: Microsoft.Uii.Desktop.SessionManager (in Microsoft.Uii.Desktop.SessionManager.dll)

Usage

'Usage
Dim name As String
Dim callId As Integer
Dim customer As Object
Dim sessionId As Guid
Dim returnValue As Session

returnValue = Me.CreateSession(name, callId, customer, sessionId)

Syntax

'Declaration
Protected Overrides Function CreateSession ( _
    name As String, _
    callId As Integer, _
    customer As Object, _
    sessionId As Guid _
) As Session
protected override Session CreateSession (
    string name,
    int callId,
    Object customer,
    Guid sessionId
)
protected:
virtual Session^ CreateSession (
    String^ name, 
    int callId, 
    Object^ customer, 
    Guid sessionId
) override
protected Session CreateSession (
    String name, 
    int callId, 
    Object customer, 
    Guid sessionId
)
protected override function CreateSession (
    name : String, 
    callId : int, 
    customer : Object, 
    sessionId : Guid
) : Session

Parameters

  • name
    Specifies the session name
  • callId
    Specifies the call ID..
  • customer
    Depreciated, set to -1
  • sessionId
    Specifies the customer object that contains information about the customer.

Return Value

The session object created.

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

AgentDesktopSessions Class
AgentDesktopSessions Members
Microsoft.Uii.Desktop.SessionManager Namespace

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