共用方式為


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)

參數

傳回

異步操作的結果為 ConversationalAgentSessionUpdateResponse

屬性

適用於