ConversationalAgentSession.GetCurrentSessionSync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.