System.Runtime.Caching
TOC
Collapse the table of content
Expand the table of content

System.Runtime.Caching Namespace

.NET Framework (current version)
 

The System.Runtime.Caching namespace contains types that let you implement caching in NET Framework applications.

ClassDescription
System_CAPS_pubclassCacheEntryChangeMonitor

Provides a base class that represents a ChangeMonitor type that can be implemented in order to monitor changes to cache entries.

System_CAPS_pubclassCacheEntryRemovedArguments

Provides information about a cache entry that was removed from the cache.

System_CAPS_pubclassCacheEntryUpdateArguments

Provides information about a cache entry that will be removed from the cache.

System_CAPS_pubclassCacheItem

Represents an individual cache entry in the cache.

System_CAPS_pubclassCacheItemPolicy

Represents a set of eviction and expiration details for a specific cache entry.

System_CAPS_pubclassChangeMonitor

Provides a base class for a derived custom type that monitors changes in the state of the data which a cache item depends on.

System_CAPS_pubclassFileChangeMonitor

Represents an object that monitors changes to files.

System_CAPS_pubclassHostFileChangeMonitor

Monitors directories and file paths and notifies the cache of changes to the monitored items. This class cannot be inherited.

System_CAPS_pubclassMemoryCache

Represents the type that implements an in-memory cache.

System_CAPS_pubclassObjectCache

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

System_CAPS_pubclassSqlChangeMonitor

Provides change monitoring for SQL Server databases. This class cannot be inherited.

DelegateDescription
System_CAPS_pubdelegateCacheEntryRemovedCallback

Defines a reference to a method that is called after a cache entry is removed from the cache.

System_CAPS_pubdelegateCacheEntryUpdateCallback

Defines a reference to a method that is invoked when a cache entry is about to be removed from the cache.

System_CAPS_pubdelegateOnChangedCallback

Defines a reference to a method that handles changes to monitored items.

EnumerationDescription
System_CAPS_pubenumCacheEntryRemovedReason

Specifies the reason why a cache entry was removed or an entry is about to be removed.

System_CAPS_pubenumCacheItemPriority

Specifies a priority setting that is used to decide whether to evict a cache entry.

System_CAPS_pubenumDefaultCacheCapabilities

Represents a set of features that a cache implementation provides.

The classes in this namespace provide a way to use caching facilities like those in ASP.NET, but without a dependency on the System.Web assembly.

System_CAPS_noteNote

The output caching functionality and types in the System.Runtime.Caching namespace were introduced in .NET Framework 4.

The caching types that are provided in this namespace offer the following features:

  • Caching is accessible to all .NET Framework applications (not just ASP.NET).

  • Caching is extensible.

  • You can create custom caching providers. For example, instead of using the default in-memory cache engine, you can create custom providers that store cache data in databases, in custom objects, or in the file system.

Return to top
Show:
© 2016 Microsoft