Class SessionListenerEventArgs
The event arguments for a session listener.
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public class SessionListenerEventArgs : EventArgs
Constructors
SessionListenerEventArgs(ISession, SessionState, SessionState)
Constructor.
Declaration
public SessionListenerEventArgs(ISession session, SessionState oldState, SessionState newState)
Parameters
Type | Name | Description |
---|---|---|
ISession | session | The session. |
SessionState | oldState | The previous session state. |
SessionState | newState | The new session state. |
Properties
NewState
Get the new session state.
Declaration
public SessionState NewState { get; }
Property Value
Type | Description |
---|---|
SessionState |
OldState
Get the previous session state.
Declaration
public SessionState OldState { get; }
Property Value
Type | Description |
---|---|
SessionState |
Session
Get the session.
Declaration
public ISession Session { get; }
Property Value
Type | Description |
---|---|
ISession |