Compartir a través de


CtiAgentStateManager Class

 

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

Represents the base class for managing agent state actions This class is intended to be overridden as necessary to provide implementation points for custom CTI commands.

Namespace:   Microsoft.Uii.Desktop.Cti.Core
Assembly:  Microsoft.Uii.Desktop.Cti.Core (in Microsoft.Uii.Desktop.Cti.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Desktop.Cti.Core.CtiAgentStateManager

Syntax

public abstract class CtiAgentStateManager : ICtiAgentStateManager
Public MustInherit Class CtiAgentStateManager
    Implements ICtiAgentStateManager

Constructors

Name Description
System_CAPS_protmethod CtiAgentStateManager(ICtiControl)

Initializes a new instance of the ICtiControl class.

Properties

Name Description
System_CAPS_pubproperty AgentGlobalConfig

Gets or sets the agent configuration information.

System_CAPS_pubproperty CtiHostedControl

Gets the pointer to the hosted control provided during construction.

System_CAPS_protproperty CurrentAgentState

Gets or sets the current agent’s state.

System_CAPS_pubproperty GetCurrentAgentState

Gets the current agent state.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod LoadGlobalAgentConfig()

Loads the global agent configuration.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod OnUpdateAgentStatusEvent(CtiCoreEventArgs)

Handles an update for the CTI platform indicating that an agent change event has occured. This method should aways be overriden.

System_CAPS_pubmethod SendAvailable()

Notifies the calling system that the agent is available.

System_CAPS_pubmethod SendLoggedOut()

Notifies the calling system that the agent is logged out.

System_CAPS_pubmethod SendUnavailable()

Raises the unavailable event

System_CAPS_pubmethod SetAgentMediaAddress(String)

Sets the media endpoint of an agent desktop. This could be a TN, IPAddress or some other method.

System_CAPS_pubmethod SetAvailable()

Sets the agent state to available.

System_CAPS_pubmethod SetUnavailable(String)

Sets the agent state for the ID of the current agent to unavailable.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UpdateState()

Updates the agent state.

Events

Name Description
System_CAPS_pubevent AgentAvailable

Raised when an agent available state is set.

System_CAPS_pubevent AgentLoggedOut

Raised when an agent logged out state is set.

System_CAPS_pubevent AgentNotAvailable

Raised when an agent not available state is set.

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.Cti.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright