HttpCachePolicyWrapper::SetCacheability Method

 

Sets the Cache-Control header to one of the HttpCacheability values.

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

NameDescription
System_CAPS_pubmethodSetCacheability(HttpCacheability)

Sets the Cache-Control header to the specified HttpCacheability value.(Overrides HttpCachePolicyBase::SetCacheability(HttpCacheability).)

System_CAPS_pubmethodSetCacheability(HttpCacheability, String^)

Sets the Cache-Control header to the specified HttpCacheability value and appends an extension to the directive.(Overrides HttpCachePolicyBase::SetCacheability(HttpCacheability, String^).)

Return to top
Show: