Dela via


CtiAgentStateManager.SetUnavailable Method (String)

 

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

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

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

Syntax

public virtual bool SetUnavailable(
    string reasonCode
)
Public Overridable Function SetUnavailable (
    reasonCode As String
) As Boolean

Parameters

  • reasonCode
    Type: System.String

    Specifeis the reason code for unavailable.

Return Value

Type: System.Boolean

Boolean
True if successful, otherwise false.

Implements

ICtiAgentStateManager.SetUnavailable(String)

See Also

CtiAgentStateManager Class
Microsoft.Uii.Desktop.Cti.Core Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright