HttpCachePolicyWrapper::SetValidUntilExpires Method (Boolean)

 

Specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers sent by the client that invalidate the cache.

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

public:
virtual void SetValidUntilExpires(
	bool validUntilExpires
) override

Parameters

validUntilExpires
Type: System::Boolean

true to specify that ASP.NET should ignore Cache-Control invalidation headers; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: