Compartir a través de


CtiAgentStateManager.SetUnavailable Method

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)

Usage

'Usage
Dim instance As CtiAgentStateManager
Dim reasonCode As String
Dim returnValue As Boolean

returnValue = instance.SetUnavailable(reasonCode)

Syntax

'Declaration
Public Overridable Function SetUnavailable ( _
    reasonCode As String _
) As Boolean
public virtual bool SetUnavailable (
    string reasonCode
)
public:
virtual bool SetUnavailable (
    String^ reasonCode
)
public boolean SetUnavailable (
    String reasonCode
)
public function SetUnavailable (
    reasonCode : String
) : boolean

Parameters

  • reasonCode
    Specifeis the reason code for unavailable.

Return Value

Boolean
True if successful, otherwise false.

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.

Platforms

See Also

Reference

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

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.