Sessions.AddSession Method (String, Int32, Object, Guid)
Adds 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 sessionId As Guid
Dim returnValue As Session
returnValue = instance.AddSession(name, callId, customer, sessionId)
Syntax
'Declaration
Public Overridable Function AddSession ( _
name As String, _
callId As Integer, _
customer As Object, _
sessionId As Guid _
) As Session
public virtual Session AddSession (
string name,
int callId,
Object customer,
Guid sessionId
)
public:
virtual Session^ AddSession (
String^ name,
int callId,
Object^ customer,
Guid sessionId
)
public Session AddSession (
String name,
int callId,
Object customer,
Guid sessionId
)
public function AddSession (
name : String,
callId : int,
customer : Object,
sessionId : Guid
) : Session
Parameters
- name
Specifies the name for the session, usually the customer's name.
- callId
Specifies the call ID, -1 if no call
- customer
Specifies the customer object to attach to the session.
- sessionId
Specifies the session ID to allow clients to specify the session ID explicitly.
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.