ICtiAgentStateControl.SetAgentState(Guid, String, String, Boolean) 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 a given state.
public:
bool SetAgentState(Guid ctiCallRefCallId, System::String ^ requestedState, System::String ^ targetState, bool overrideCtiLogic);
public bool SetAgentState (Guid ctiCallRefCallId, string requestedState, string targetState, bool overrideCtiLogic);
abstract member SetAgentState : Guid * string * string * bool -> bool
Public Function SetAgentState (ctiCallRefCallId As Guid, requestedState As String, targetState As String, overrideCtiLogic As Boolean) As Boolean
Parameters
- ctiCallRefCallId
- Guid
Specifies the CTI call reference ID.
- requestedState
- String
Specifies the requested state.
- targetState
- String
Specifies the requested state to go to.
- overrideCtiLogic
- Boolean
Internal only.
Returns
True
if the agent state is successfully set, otherwise false
.