This documentation is archived and is not being maintained.

MemoryCache Properties

The MemoryCache type exposes the following members.

  NameDescription
Public property CacheMemoryLimit Gets the amount of memory on the computer, in bytes, that can be used by the cache.
Public property Static member Default Gets a reference to the default MemoryCache instance.
Public property DefaultCacheCapabilities Gets a description of the features that the cache provides. (Overrides ObjectCache::DefaultCacheCapabilities.)
Public property Item Gets or sets a value in the cache by using the default indexer property for an instance of the MemoryCache class. (Overrides ObjectCache::Item[String].)
Public property Name Gets the name of the cache. (Overrides ObjectCache::Name.)
Public property PhysicalMemoryLimit Gets the percentage of physical memory that the cache can use.
Public property PollingInterval Gets the maximum time after which the cache updates its memory statistics.
Top
Show: