HttpCachePolicyElement.PolicyLevel Właściwość

Definicja

Pobiera lub ustawia zachowanie buforowania HTTP dla maszyny lokalnej.

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

Wartość właściwości

HttpRequestCacheLevel Wartość określająca zachowanie pamięci podręcznej.

Atrybuty

Uwagi

Aplikacje zazwyczaj używają Default ich jako poziomu zasad pamięci podręcznej. Właściwość CachePolicy , jeśli nie null, określa zasady pamięci podręcznej obowiązujące dla żądania.

Dotyczy