IsolatedStorageCache.DefaultCacheCapabilities Property
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. |
Gets a description of the features that the cache provides. See remarks section for more info on CacheEntryUpdateCallback and CacheEntryRemovedCallback.
Namespace: Microsoft.Practices.EnterpriseLibrary.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0
Syntax
public override DefaultCacheCapabilities DefaultCacheCapabilities { get; }
'Declaration
Public Overrides ReadOnly Property DefaultCacheCapabilities As DefaultCacheCapabilities
Get
public:
virtual property DefaultCacheCapabilities DefaultCacheCapabilities {
DefaultCacheCapabilities get () override;
}
Remarks
The IsolatedStorageCache implementation partially supports CacheEntryUpdateCallback and CacheEntryRemovedCallback; the callbacks are invoked as long as the cache object instance that added the cache entry with the callbacks is the same one that is running when the cache entry expires. If the cache instance is different (i.e. the application was closed and reopened, so the cache entries are rehydrated from disk), then the callbacks will not be invoked, as they are not (de)serialized.