Share via


ConversationalAgentSession.GetCurrentSessionAsync Method

Definition

Asynchronously retrieves a reference to the current 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)

Returns

The result of the asynchronous operation as a ConversationalAgentSession.

Attributes

Applies to