AgentDesktopSessions.CreateSession Method (String, Int32, Object)
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 returnValue As Session
returnValue = Me.CreateSession(name, callId, customer)
Syntax
'Declaration
Protected Overrides Function CreateSession ( _
name As String, _
callId As Integer, _
customer As Object _
) As Session
protected override Session CreateSession (
string name,
int callId,
Object customer
)
protected:
virtual Session^ CreateSession (
String^ name,
int callId,
Object^ customer
) override
protected Session CreateSession (
String name,
int callId,
Object customer
)
protected override function CreateSession (
name : String,
callId : int,
customer : Object
) : Session
Parameters
- name
Specifies the session name.
- callId
Depreciated, set to -1
- customer
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.