Partager via


AgentStateService Class

 

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

Represents the agent state service.

Namespace:   Microsoft.Uii.AifServices
Assembly:  Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.AifServices.AifServiceBase
    Microsoft.Uii.AifServices.AgentStateService

Syntax

public class AgentStateService : AifServiceBase, IAgentStateService
Public Class AgentStateService
    Inherits AifServiceBase
    Implements IAgentStateService

Constructors

Name Description
System_CAPS_pubmethod AgentStateService()

Initializes a new instance of the AgentStateService class.

Properties

Name Description
System_CAPS_pubproperty CrmServiceClient

Gets the Crm Service Client Instance.(Inherited from AifServiceBase.)

System_CAPS_pubproperty OrganizationServiceProxy

Obsolete. Gets the organization service proxy.(Inherited from AifServiceBase.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetAgentId()

Gets the logged in agent's id.

System_CAPS_pubmethod GetAgentId(String)

Gets the agent's ID for the given phone number.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSavedSessions(Guid)

Gets the saved session(s) for the given agent ID.

System_CAPS_pubmethod GetSessionTransferInformation(Guid)

Retrieves session information for handling a transferred call.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SaveSessions(String)

Saves an agent’s session(s) information.

System_CAPS_pubmethod SetSessionTransferInformation(Guid, String, String)

Sets the session specific information in the database so that when an agent transfers a call to another agent, the session information can be reproduced for them.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.AifServices Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright