Επεξεργασία

Κοινή χρήση μέσω


HttpCachePolicyElement.PolicyLevel Property

Definition

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