Compartir a través de


Sessions.AddSession Method (String, Int32, Object)

Add a new session to the UII desktop.

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

Usage

'Usage
Dim instance As Sessions
Dim name As String
Dim callId As Integer
Dim customer As Object
Dim returnValue As Session

returnValue = instance.AddSession(name, callId, customer)

Syntax

'Declaration
Public Overridable Function AddSession ( _
    name As String, _
    callId As Integer, _
    customer As Object _
) As Session
public virtual Session AddSession (
    string name,
    int callId,
    Object customer
)
public:
virtual Session^ AddSession (
    String^ name, 
    int callId, 
    Object^ customer
)
public Session AddSession (
    String name, 
    int callId, 
    Object customer
)
public function AddSession (
    name : String, 
    callId : int, 
    customer : Object
) : Session

Parameters

  • name
    the name for the session, usually the customer's name
  • callId
    -1 if no call
  • customer
    The customer object to attach to the session.

Return Value

The new session object.

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.