Method Set
Set(ISession, String, Object)
Sets a value against the specified key in the session.
Declaration
public static void Set(this ISession session, string key, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| ISession | session | The session object. |
| System.String | key | Key against which the value is required. |
| System.Object | value | The value against the key which is serialized using NCache Compact Serialization. |