Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The put_State method sets the state of an agent session.
Syntax
HRESULT put_State(
[in] AGENT_STATE AgentState
);
Parameters
[in] AgentState
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Method succeeded. |
|
Agent session state is incorrect. |
|
Insufficient memory exists to perform the operation. |
|
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes. |
Remarks
The ITAgent::put_State method is a COM wrapper for the TAPI 2.1 lineSetAgentStateEx function.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | tapi3.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |