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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.