Partager via


CtiHostedControl.SetAgentState Method (CtiStateRequest)

 

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

Sets the agent state to the requested state.

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

Syntax

public abstract bool SetAgentState(
    CtiStateRequest stateChangeRequest
)
Public MustOverride Function SetAgentState (
    stateChangeRequest As CtiStateRequest
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean
True if the agent’s state was successfully set, otherwise false.

Implements

ICtiControl.SetAgentState(CtiStateRequest)

See Also

CtiHostedControl Class
Microsoft.Uii.Desktop.Cti.Controls Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright