Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 | tapi3cc.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |