Export (0) Print
Expand All

HttpResponseBase.Cache Property

Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current Web page.

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

public virtual HttpCachePolicyBase Cache { get; }

Property Value

Type: System.Web.HttpCachePolicyBase
The caching policy of the current response.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft