Sessions.AddSession Method (String, Int32, Object, Guid)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Adds a new session to the UII desktop
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Syntax
public virtual Session AddSession(
string name,
int callId,
object customer,
Guid sessionId
)
Public Overridable Function AddSession (
name As String,
callId As Integer,
customer As Object,
sessionId As Guid
) As Session
Parameters
name
Type: System.StringSpecifies the name for the session, usually the customer's name.
callId
Type: System.Int32Specifies the call ID, -1 if no call
customer
Type: System.ObjectSpecifies the customer object to attach to the session.
sessionId
Type: System.GuidSpecifies the session ID to allow clients to specify the session ID explicitly.
Return Value
Type: Microsoft.Uii.Csr.Session
The new session object.
See Also
AddSession Overload
Sessions Class
Microsoft.Uii.Csr Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright