HttpCachePolicyBase.VaryByHeaders 属性

定义

当在派生类中被重写时,获取用于区分缓存输出的所有 HTTP 标头的列表。

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

属性值

HttpCacheVaryByHeaders

用于选择缓存的响应的 HTTP 标头。

例外

适用于