Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Cache Property

HttpRuntime.Cache Property

Gets the Cache for the current application.

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

public static Cache Cache { get; }

Property Value

Type: System.Web.Caching.Cache
The current Cache.

ExceptionCondition
HttpException

ASP.NET is not installed.

For more information, see the System.Web.Caching.Cache class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft