FtpCachePolicyElement.PolicyLevel Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets FTP caching behavior for the local machine.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

[ConfigurationPropertyAttribute("policyLevel", DefaultValue = RequestCacheLevel.Default)]
public RequestCacheLevel PolicyLevel { get; set; }

Property Value

Type: System.Net.Cache.RequestCacheLevel

A RequestCacheLevel value that specifies the cache behavior.

Applications typically use Default as their cache policy level. The CachePolicy property, if not null, determines the cache policy in effect for a request.

.NET Framework
Available since 2.0
Return to top