Freigeben über


getFocusedSession (App-Profil-Manager)

Gibt das Sitzungsobjekt der Sitzung zurück, die sich im Fokus befindet.

Syntax

Microsoft.Apm.getFocusedSession();

Rückgabewert

Session als Objekt.

Example

const session = Microsoft.Apm.getFocusedSession();
console.log(session.sessionId);