Export (0) Print
Expand All

Cache Class

Implements the cache for a Web application. This class cannot be inherited.

For a list of all members of this type, see Cache Members.

System.Object
   System.Web.Caching.Cache

[Visual Basic]
NotInheritable Public Class Cache
   Implements IEnumerable
[C#]
public sealed class Cache : IEnumerable
[C++]
public __gc __sealed class Cache : public IEnumerable
[JScript]
public class Cache implements IEnumerable

Thread Safety

This type is safe for multithreaded operations.

Remarks

One instance of this class is created per application domain, and it remains valid as long as the application domain remains active. Information about an instance of this class is available through the Cache property of the HttpContext object or the Cache property of the Page object.

Requirements

Namespace: System.Web.Caching

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

Cache Members | System.Web.Caching Namespace | HttpContext | CacheDependency | CacheItemRemovedCallback | Caching Application Data

Show:
© 2014 Microsoft