CacheManager Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The CacheManager type exposes the following members.

Methods

  Name Description
Public method Add Overloaded.
Public method Contains
Returns true if key refers to item current stored in cache
Public method Dispose
Not intended for public use. Only public due to requirements of IDisposable. If you call this method, your cache will be unusable.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Flush
Removes all items from the cache. If an error occurs during the removal, the cache is left unchanged.
Public method GetData
Returns the value associated with the given key.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove
Removes the given item from the cache. If no item exists with that key, this method does nothing.
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property Count
Returns the number of items currently in the cache.
Public property Item
Returns the item identified by the provided key

See Also

CacheManager Class

Microsoft.Practices.EnterpriseLibrary.Caching Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.