Sets the Cache-Control HTTP header to either the must-revalidate or the proxy-revalidate directives based on the supplied enumeration value.
- revalidation
- The System.Web.HttpCacheRevalidation enumeration value to set the Cache-Control header to.
The default, which is equivalent to HttpCacheRevalidation.None, is to send neither directive in a header unless explicitly specified by this method.
HttpCachePolicy.SetRevalidation(HttpCacheRevalidation) is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.