HttpCachePolicyBase.SetValidUntilExpires Method (Boolean)

 

When overridden in a derived class, specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers that are sent by the client that invalidate the cache.

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

public virtual void SetValidUntilExpires(
	bool validUntilExpires
)

Parameters

validUntilExpires
Type: System.Boolean

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

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: