HttpCachePolicyElement.PolicyLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets HTTP caching behavior for the local machine.
public:
property System::Net::Cache::HttpRequestCacheLevel PolicyLevel { System::Net::Cache::HttpRequestCacheLevel get(); void set(System::Net::Cache::HttpRequestCacheLevel value); };
[System.Configuration.ConfigurationProperty("policyLevel", DefaultValue=System.Net.Cache.HttpRequestCacheLevel.Default, IsRequired=true)]
public System.Net.Cache.HttpRequestCacheLevel PolicyLevel { get; set; }
[<System.Configuration.ConfigurationProperty("policyLevel", DefaultValue=System.Net.Cache.HttpRequestCacheLevel.Default, IsRequired=true)>]
member this.PolicyLevel : System.Net.Cache.HttpRequestCacheLevel with get, set
Public Property PolicyLevel As HttpRequestCacheLevel
Property Value
A HttpRequestCacheLevel value that specifies the cache behavior.
- Attributes
Remarks
Applications typically use Default as their cache policy level. The CachePolicy property, if not null
, determines the cache policy in effect for a request.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.