CtiHostedControl.SetAgentState(CtiStateRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.