HttpSessionStateBase.Add Method (String, Object)
.NET Framework (current version)
When overridden in a derived class, adds an item to the session-state collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
The name of the item to add to the session-state collection.
- value
-
Type:
System.Object
The value of the item to add to the session-state collection.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: