Modifica

Condividi tramite


HttpCachePolicyWrapper.SetValidUntilExpires(Boolean) Method

Definition

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

public:
 override void SetValidUntilExpires(bool validUntilExpires);
public override void SetValidUntilExpires (bool validUntilExpires);
override this.SetValidUntilExpires : bool -> unit
Public Overrides Sub SetValidUntilExpires (validUntilExpires As Boolean)

Parameters

validUntilExpires
Boolean

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

Applies to