ConversationalAgentSession.RequestAgentStateChangeAsync 方法

定义

异步请求当前 ConversationalAgentSession 的状态更改。

public:
 virtual IAsyncOperation<ConversationalAgentSessionUpdateResponse> ^ RequestAgentStateChangeAsync(ConversationalAgentState state) = RequestAgentStateChangeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ConversationalAgentSessionUpdateResponse> RequestAgentStateChangeAsync(ConversationalAgentState const& state);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ConversationalAgentSessionUpdateResponse> RequestAgentStateChangeAsync(ConversationalAgentState state);
function requestAgentStateChangeAsync(state)
Public Function RequestAgentStateChangeAsync (state As ConversationalAgentState) As IAsyncOperation(Of ConversationalAgentSessionUpdateResponse)

参数

state
ConversationalAgentState

请求的 AgentState

返回

作为 ConversationalAgentSessionUpdateResponse 的异步操作的结果。

属性

适用于