Jaa


ICacheManager.Add Method

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 latest Enterprise Library information can be found at the Enterprise Library site.

Overload List

  Name Description
Ee763497.pubmethod(en-us,PandP.10).gif Add(String, Object)
Adds new CacheItem to cache. If another item already exists with the same key, that item is removed before the new item is added. If any failure occurs during this process, the cache will not contain the item being added. Items added with this method will be not expire, and will have a Normal CacheItemPriority priority.
Ee763497.pubmethod(en-us,PandP.10).gif Add(String, Object, CacheItemPriority, ICacheItemRefreshAction, array<ICacheItemExpiration[])
Adds new CacheItem to cache. If another item already exists with the same key, that item is removed before the new item is added. If any failure occurs during this process, the cache will not contain the item being added.

See Also

ICacheManager Interface

ICacheManager Members

Microsoft.Practices.EnterpriseLibrary.Caching Namespace