Share via


AgentDesktopSession Class

 

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

Represents a single customer session within the agent desktop.

Namespace:   Microsoft.Uii.Desktop.SessionManager
Assembly:  Microsoft.Uii.Desktop.SessionManager (in Microsoft.Uii.Desktop.SessionManager.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Csr.Session
    Microsoft.Uii.Desktop.SessionManager.AgentDesktopSession

Syntax

public class AgentDesktopSession : Session
Public Class AgentDesktopSession
    Inherits Session

Constructors

Name Description
System_CAPS_pubmethod AgentDesktopSession(String, CustomerEntity)

Initializes a new instance of the AgentDesktopSession class.

System_CAPS_pubmethod AgentDesktopSession(String, CustomerEntity, Guid)

Initializes a new instance of the AgentDesktopSession class.

System_CAPS_pubmethod AgentDesktopSession(String, Int32, CustomerEntity, Boolean)

Initializes a new instance of the AgentDesktopSession class.

Properties

Name Description
System_CAPS_pubproperty AppHost

Get the list of applications and data for this session.(Inherited from Session.)

System_CAPS_pubproperty CallId

Gets or sets the ID which identifies the call if there is one for this session. -1 if not.(Inherited from Session.)

System_CAPS_pubproperty CtiCallRefId

Gets or sets the call reference ID.

System_CAPS_pubproperty CtiCallRefIdChat

Gets or sets the secondary call reference ID that identifies a second call assocated with the session.

System_CAPS_pubproperty CtiCallType

Gets or sets the primary call type that describes the session, whether it is an Email / Voice / Chat.

System_CAPS_pubproperty Customer

Gets or sets the customer object that contains information about the customer.

System_CAPS_pubproperty FocusedApplication

Gets or sets the application in the session which currently has focus.(Inherited from Session.)

System_CAPS_pubproperty Global

Gets a bool indicating if this is a global session, that is one that is not tied to a customer.(Inherited from Session.)

System_CAPS_pubproperty IsWorkflowPending

Gets or sets if the workflow being used (pending). Returns false if no workflow or if its done or cancelled.(Inherited from Session.)

System_CAPS_pubproperty Name

Gets or sets the name of the session.(Inherited from Session.)

System_CAPS_pubproperty PresenceState

Gets or sets the setting for the Presense state for this session.(Inherited from Session.)

System_CAPS_pubproperty RestoredSessionInfo

Implementation for Modified Workflow(Inherited from Session.)

System_CAPS_pubproperty SessionId

Get the the unique ID for this session.(Inherited from Session.)

System_CAPS_pubproperty StartTime

Get the start time of the the session.(Inherited from Session.)

System_CAPS_pubproperty Workflow

Gets or sets the serialized state of the workflow for this session, kept in XML. Used whenever switching sessions to restore the workflow.(Inherited from Session.)

Methods

Name Description
System_CAPS_pubmethod ApplicationExists(Guid)

Returns whether an application exists in this session.(Inherited from Session.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetApplication(Guid)

Returns the requested application or null if none.(Inherited from Session.)

System_CAPS_pubmethod GetCustomerID()

Gets the customer ID.(Overrides Session.GetCustomerID().)

System_CAPS_pubmethod GetEnumerator()

Returns an enumerator that iterates through the collection(Inherited from Session.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Restore(String)

Restores the state of a session from the passed PackageSession Object.(Overrides Session.Restore(String).)

System_CAPS_pubmethod Save(Boolean)

Creates a serialized save version of the session and its associated data in preparation for storage.(Overrides Session.Save(Boolean).)

System_CAPS_pubmethod ToString()

This method override the default ToString() method.(Inherited from Session.)

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.

See Also

Microsoft.Uii.Desktop.SessionManager Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright