次の方法で共有


getAllSessions (アプリ プロファイル マネージャー)

すべてのセッションの一意の識別子を返します。

構文

Microsoft.Apm.getAllSessions();

戻り値

セッション識別子のコレクション。

Example

const sessionIds = Microsoft.Apm.getAllSessions();
sessionIds.forEach(id=> {
        console.log(id);
});