Share via


ConversationalAgentSession.RequestAgentStateChange Method

Definition

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.

Applies to

See also