Partager via


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

Represents an object cache and provides the base methods and properties for accessing the object cache.

Namespace: Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0

Syntax

public abstract class ObjectCache : IEnumerable<KeyValuePair<string, Object>>, 
    IEnumerable
'Declaration
Public MustInherit Class ObjectCache _
    Implements IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable
public ref class ObjectCache abstract : IEnumerable<KeyValuePair<String^, Object^>>, 
    IEnumerable

Inheritance Hierarchy

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

See Also

ObjectCache Members

Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching Namespace