C++ API Library Reference  4.3.2-74-ge1d4cca
Public Functions | List of all members
SessionStorageChangedEventArgs Class Reference

The SessionStorageChangedEventArgs class is an event arguments class describing changes to session storage.

Public Functions

SessionStorageChangeType::Enum ChangeType () const
 
bool IsDeletion () const
 
bool IsSet () const
 
String const & Key () const
 
String const & NewValue () const
 
Guid SessionId ()
 
Constructors and Destructors
 SessionStorageChangedEventArgs ()
 
 SessionStorageChangedEventArgs (Guid sessionId, String const &key, String const &newValue, SessionStorageChangeType::Enum changeType)
 
 ~SessionStorageChangedEventArgs ()
 

Usage Description

SessionStorageChangeType::Enum ChangeType ( ) const
inline

Returns the content of the "changeType" argument of the event object.

This is the type of change, such as insertion or deletion.

bool IsDeletion ( ) const
inline

Returns a Boolean value that indicates whether the change was a deletion.

bool IsSet ( ) const
inline

Returns a Boolean value that indicates whether the change was a set (insert or change).

String const& Key ( ) const
inline

Returns the content of the "key" argument of the event object.

This is the key in the session storage that changed, triggering the event.

String const& NewValue ( ) const
inline

Returns the content of the "newValue" argument of the event object.

This is the value of the element at the specified path, after the change occurred.

Guid SessionId ( )
inline

Returns the unique identifier of the session impacted by the session storage event.