CtiHostedControl.SetAgentState Method
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)
Usage
'Usage
Dim instance As CtiHostedControl
Dim stateChangeRequest As CtiStateRequest
Dim returnValue As Boolean
returnValue = instance.SetAgentState(stateChangeRequest)
Syntax
'Declaration
Public MustOverride Function SetAgentState ( _
stateChangeRequest As CtiStateRequest _
) As Boolean
public abstract bool SetAgentState (
CtiStateRequest stateChangeRequest
)
public:
virtual bool SetAgentState (
CtiStateRequest^ stateChangeRequest
) abstract
public abstract boolean SetAgentState (
CtiStateRequest stateChangeRequest
)
public abstract function SetAgentState (
stateChangeRequest : CtiStateRequest
) : boolean
Parameters
- stateChangeRequest
Specifies the state change request.
Return Value
Type: Boolean
True if the agent’s state was successfully set, 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
CtiHostedControl Class
CtiHostedControl Members
Microsoft.Uii.Desktop.Cti.Controls Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.