次の方法で共有


IHostedApplication.SessionChange(Boolean, Guid) Method

Definition

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.

Applies to