IHostedApplication.SessionChange(Boolean, Guid) 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.
Called whenever the session is changed. Only global applications receive this since 'local' applications don't need to know if their session is shown or not.
public:
void SessionChange(bool activate, Guid sessionID);
public void SessionChange (bool activate, Guid sessionID);
abstract member SessionChange : bool * Guid -> unit
Public Sub SessionChange (activate As Boolean, sessionID As Guid)
Parameters
- activate
- Boolean
true
if the session is becoming active, false if another session is becoming active.
- sessionID
- Guid
Specifies the ID of the session being affected.