Share via


ConversationalAgentSession.GetCurrentSessionSync Method

Definition

Synchronously retrieves a reference to the current ConversationalAgentSession.

Important

To avoid possible concurrency issues, we recommend using GetCurrentSessionAsync instead.

public:
 static ConversationalAgentSession ^ GetCurrentSessionSync();
 static ConversationalAgentSession GetCurrentSessionSync();
public static ConversationalAgentSession GetCurrentSessionSync();
function getCurrentSessionSync()
Public Shared Function GetCurrentSessionSync () As ConversationalAgentSession

Returns

A reference to the current ConversationalAgentSession.

Applies to

See also