Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Web.Caching
Cache Class

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
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

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker