IsolatedStorageCache 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 latest Enterprise Library information can be found at the Enterprise Library site. |
The IsolatedStorageCache type exposes the following members.
Constructors
Name | Description | |
---|---|---|
IsolatedStorageCache(String, ICacheEntryStore, Int32, Int32, TimeSpan) |
Initializes a new instance of the IsolatedStorageCache class.
|
|
IsolatedStorageCache(String, Int32, Int32, Int32, TimeSpan) |
Initializes a new instance of the IsolatedStorageCache class.
|
|
IsolatedStorageCache(String, Int32, Int32, Int32, TimeSpan, IIsolatedStorageCacheEntrySerializer) |
Initializes a new instance of the IsolatedStorageCache class.
|
Methods
Name | Description | |
---|---|---|
Add(CacheItem, CacheItemPolicy) |
When overridden in a derived class, tries to insert a cache entry into the cache as a CacheItem instance, and adds details about how the entry should be evicted.
(Inherited from ObjectCache.) |
|
Add(String, Object, CacheItemPolicy, String) |
When overridden in a derived class, inserts a cache entry into the cache, specifying information about how the entry will be evicted.
(Inherited from ObjectCache.) |
|
Add(String, Object, DateTimeOffset, String) |
When overridden in a derived class, inserts a cache entry into the cache without overwriting any existing cache entry.
(Inherited from ObjectCache.) |
|
AddOrGetExisting(CacheItem, CacheItemPolicy) |
Inserts the specified CacheItem object into the cache, specifying information about how the entry will be evicted.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
AddOrGetExisting(String, Object, CacheItemPolicy, String) |
Inserts a cache entry into the cache, specifying a key and a value for the cache entry, and information about how the entry will be evicted.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
AddOrGetExisting(String, Object, DateTimeOffset, String) |
Inserts a cache entry into the cache, by using a key, an object for the cache entry, an absolute expiration value, and an optional region to add the cache into.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Contains |
Checks whether the cache entry already exists in the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
CreateCacheEntry |
Creates a cache entry.
(Overrides MemoryBackedCacheBase<TCacheEntry>.CreateCacheEntry(String, Object, CacheItemPolicy).) |
|
DeleteCache |
Deletes the data persisted by the cache with the specified name.
|
|
Dispose() |
Releases resources.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Dispose(Boolean) |
Releases the store.
(Overrides MemoryBackedCacheBase<TCacheEntry>.Dispose(Boolean).) |
|
DoAddOrGetExisting |
Actual implementation for adding or getting a cache item.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoContains |
Checks whether the entry identified by a key is stored in memory.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoExpirations |
Performs an expiration sweep.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoGet |
Actual implementation for getting a cache item.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoGetCount |
Gets the total number of cache entries in the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoGetEnumerator |
Creates an enumerator that can be used to iterate through a collection of cache entries.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoGetValues |
Gets a set of cache entries that correspond to the specified keys.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoRemove |
Removes a cache entry from the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoScavenging |
Performs a scavenging sweep.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
DoSet |
Inserts a cache entry into the cache.
(Overrides MemoryBackedCacheBase<TCacheEntry>.DoSet(String, Object, CacheItemPolicy).) |
|
DoUpdateLastAccessTime |
Updates the last access time on an entry.
(Overrides MemoryBackedCacheBase<TCacheEntry>.DoUpdateLastAccessTime(TCacheEntry).) |
|
Equals | (Inherited from Object.) | |
Finalize |
Releases resources.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Get |
Gets the specified cache entry from the cache as an object.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
GetCacheItem |
Gets the specified cache entry from the cache as a CacheItem instance.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
GetCount |
Gets the total number of cache entries in the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
GetEnumerator |
Creates an enumerator that can be used to iterate through a collection of cache entries.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
GetValues(IEnumerable<String>, String) |
Gets a set of cache entries that correspond to the specified keys.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
GetValues(String, array<String>) |
Gets a set of cache entries that correspond to the specified keys.
(Inherited from ObjectCache.) |
|
InnerAdd |
Adds an entry to the dictionary in the cache object.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
OnItemRemoved |
Invoked when an entry was removed from the cache.
(Overrides MemoryBackedCacheBase<TCacheEntry>.OnItemRemoved(TCacheEntry, CacheEntryRemovedReason).) |
|
OnItemRemoving |
Invoked when an entry is being removed from the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Remove |
Removes the cache entry from the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
ScheduleScavenging |
Schedules a scavenging operation.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
ScheduleScavengingIfNeeded |
Schedules a scavenging operation if needed.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Set(CacheItem, CacheItemPolicy) |
Inserts the cache entry into the cache as a CacheItem instance, specifying information about how the entry will be evicted.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Set(String, Object, CacheItemPolicy, String) |
Inserts a cache entry into the cache.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Set(String, Object, DateTimeOffset, String) |
Inserts a cache entry into the cache, specifying time-based expiration details.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
DefaultCacheCapabilities |
Gets a description of the features that the cache provides. See remarks section for more info on CacheEntryUpdateCallback and CacheEntryRemovedCallback.
(Overrides ObjectCache.DefaultCacheCapabilities.) |
|
IsPersisting |
Gets a value indicating if this instance of the cache is using the isolated storage to persist the cache entries.
|
|
Item |
Gets or sets the default indexer for the ObjectCache class.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
Name |
Gets the name of the cache instance.
(Inherited from MemoryBackedCacheBase<TCacheEntry>.) |
|
UsedPhysicalSize |
The amount of isolated storage space being used to store the cache entries.
|