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 | |
---|---|---|
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.
|
|
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.
|