HttpResponseBase.Cache 属性

定义

获取当前网页的缓存策略(如过期时间、隐私设置和 vary 子句)。

public:
 virtual property System::Web::HttpCachePolicyBase ^ Cache { System::Web::HttpCachePolicyBase ^ get(); };
public virtual System.Web.HttpCachePolicyBase Cache { get; }
member this.Cache : System.Web.HttpCachePolicyBase
Public Overridable ReadOnly Property Cache As HttpCachePolicyBase

属性值

HttpCachePolicyBase

当前响应的缓存策略。

例外

适用于