Share via


Sessions.CreateSession Method (String, Int32, Object, Guid)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Creates a session.

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

Syntax

protected abstract Session CreateSession(
    string name,
    int callId,
    object customer,
    Guid sessionId
)
Protected MustOverride Function CreateSession (
    name As String,
    callId As Integer,
    customer As Object,
    sessionId As Guid
) As Session

Parameters

  • name
    Type: System.String

    Specifies the session name, usually, the customer's name.

  • callId
    Type: System.Int32

    Specifies the callID, if the session is started via a call.

  • customer
    Type: System.Object

    Specifies the customer object reference.

  • sessionId
    Type: System.Guid

    Specifies the session ID to allow clients to specify the session ID explicitly.

Return Value

Type: Microsoft.Uii.Csr.Session

The session object created.

See Also

CreateSession Overload
Sessions Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright