Share via


CtiHostedControl.SetAgentState(CtiStateRequest) Method

Definition

Sets the agent state to the requested state.

public:
 abstract bool SetAgentState(Microsoft::Uii::Desktop::Cti::Core::CtiStateRequest ^ stateChangeRequest);
public abstract bool SetAgentState (Microsoft.Uii.Desktop.Cti.Core.CtiStateRequest stateChangeRequest);
abstract member SetAgentState : Microsoft.Uii.Desktop.Cti.Core.CtiStateRequest -> bool
Public MustOverride Function SetAgentState (stateChangeRequest As CtiStateRequest) As Boolean

Parameters

stateChangeRequest
CtiStateRequest

Specifies the state change request.

Returns

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

Implements

Applies to