Поделиться через


IsolatedStorageCache Class

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.

Cache that persists entries in isolated storage and loads the entries on initialization.

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 class IsolatedStorageCache : MemoryBackedCacheBase<IsolatedStorageCacheEntry>
'Declaration
Public Class IsolatedStorageCache _
    Inherits MemoryBackedCacheBase(Of IsolatedStorageCacheEntry)
public ref class IsolatedStorageCache : public MemoryBackedCacheBase<IsolatedStorageCacheEntry^>

Remarks

If a second instance of an application using this cache is started, the cache on the second instance will only load the items in isolated storage but will not save them.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching.ObjectCache
    Microsoft.Practices.EnterpriseLibrary.Caching.InMemory.MemoryBackedCacheBase<IsolatedStorageCacheEntry>
      Microsoft.Practices.EnterpriseLibrary.Caching.IsolatedStorageCache

See Also

IsolatedStorageCache Members

Microsoft.Practices.EnterpriseLibrary.Caching Namespace