ConversationalAgentSession.RequestAgentStateChange 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.
Synchronously requests a state change for the current ConversationalAgentSession.
Important
To avoid possible concurrency issues, we recommend using RequestAgentStateChangeAsync instead.
public:
virtual ConversationalAgentSessionUpdateResponse RequestAgentStateChange(ConversationalAgentState state) = RequestAgentStateChange;
ConversationalAgentSessionUpdateResponse RequestAgentStateChange(ConversationalAgentState const& state);
public ConversationalAgentSessionUpdateResponse RequestAgentStateChange(ConversationalAgentState state);
function requestAgentStateChange(state)
Public Function RequestAgentStateChange (state As ConversationalAgentState) As ConversationalAgentSessionUpdateResponse
Parameters
- state
- ConversationalAgentState
The AgentState requested.
Returns
A ConversationalAgentSessionUpdateResponse.