HttpCachePolicyBase::SetCacheability Method (HttpCacheability)
.NET Framework (current version)
When overridden in a derived class, sets the Cache-Control header to the specified HttpCacheability value.
Assembly: System.Web (in System.Web.dll)
Parameters
- cacheability
-
Type:
System.Web::HttpCacheability
The HttpCacheability enumeration value to set the header to.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: