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

屬性

適用於