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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.