ConversationalAgentSession.GetCurrentSessionAsync 方法

定义

异步检索对当前 ConversationalAgentSession 的引用。

public:
 static IAsyncOperation<ConversationalAgentSession ^> ^ GetCurrentSessionAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ConversationalAgentSession> GetCurrentSessionAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ConversationalAgentSession> GetCurrentSessionAsync();
function getCurrentSessionAsync()
Public Shared Function GetCurrentSessionAsync () As IAsyncOperation(Of ConversationalAgentSession)

返回

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

属性

适用于