HttpCachePolicyBase.VaryByContentEncodings 属性

定义

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

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

属性值

HttpCacheVaryByContentEncodings

用于选择缓存的响应的 Content-Encoding 标头。

例外

适用于