This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
HttpApplicationState Methods
The methods of the HttpApplicationState class are listed below. For a complete list of HttpApplicationState class members, see the HttpApplicationState Members topic.
Public:
Add |
Adds a new state object to the application state collection. |
Clear |
Removes all objects from the application state collection. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
Get |
Overloaded. Enables user to retrieve an application state object by name or index. |
GetEnumerator (inherited from NameObjectCollectionBase) |
[To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetKey |
Enables user to retrieve an application state object name by index. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Lock |
Locks access to all application state variables. Facilitates access synchronization. |
Remove |
Removes an object from the application state collection by name. |
RemoveAll |
Removes all objects from the application state collection. |
Set |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
UnLock |
Unocks access to all application state variables. Facilitates access synchronization. |
Protected:
BaseAdd (inherited from NameObjectCollectionBase) |
[To be supplied.] |
BaseClear (inherited from NameObjectCollectionBase) |
[To be supplied.] |
BaseGet (inherited from NameObjectCollectionBase) |
Overloaded. [To be supplied.] |
BaseGetAllKeys (inherited from NameObjectCollectionBase) |
[To be supplied.] |
BaseGetAllValues (inherited from NameObjectCollectionBase) |
Overloaded. [To be supplied.] |
BaseGetKey (inherited from NameObjectCollectionBase) |
[To be supplied.] |
BaseHasKeys (inherited from NameObjectCollectionBase) |
[To be supplied.] |
BaseRemove (inherited from NameObjectCollectionBase) |
Overloaded. [To be supplied.] |
BaseSet (inherited from NameObjectCollectionBase) |
Overloaded. [To be supplied.] |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
HttpApplicationState Class | System.Web Namespace