Partager via


IBackingStore 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 IBackingStore type exposes the following members.

Methods

  Name Description
Public method Add

This method is responsible for adding a CacheItem to the BackingStore. This operation must be successful even if an item with the same key already exists. This method must also meet the Weak Exception Safety guarantee and remove the item from the backing store if any part of the Add fails.

Public method Dispose (Inherited from IDisposable.)
Public method Flush
Flushes all CacheItems from backing store. This method must meet the Weak Exception Safety guarantee.
Public method Load
Loads all CacheItems from backing store.
Public method Remove
Removes an item with the given key from the backing store
Public method UpdateLastAccessedTime
Updates the last accessed time for a cache item.

Properties

  Name Description
Public property Count
Number of objects stored in the backing store

See Also

IBackingStore Interface

Microsoft.Practices.EnterpriseLibrary.Caching Namespace

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.