Sessions.CreateSession Method (String, Int32, Object, Guid)
Creates a session.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.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 MustOverride Function CreateSession ( _
name As String, _
callId As Integer, _
customer As Object, _
sessionId As Guid _
) As Session
protected abstract Session CreateSession (
string name,
int callId,
Object customer,
Guid sessionId
)
protected:
virtual Session^ CreateSession (
String^ name,
int callId,
Object^ customer,
Guid sessionId
) abstract
protected abstract Session CreateSession (
String name,
int callId,
Object customer,
Guid sessionId
)
protected abstract function CreateSession (
name : String,
callId : int,
customer : Object,
sessionId : Guid
) : Session
Parameters
- name
Specifies the session name, usually, the customer's name.
- callId
Specifies the callID, if the session is started via a call.
- customer
Specifies the customer object reference.
- sessionId
Specifies the session ID to allow clients to specify the session ID explicitly.
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
Sessions Class
Sessions Members
Microsoft.Uii.Csr Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.