HttpCachePolicyElement Constructor ()


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

Initializes a new instance of the HttpCachePolicyElement class.

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

public HttpCachePolicyElement()

This constructor adds the MaximumAge, MaximumStale, MinimumFresh, and PolicyLevel properties to the collection.

.NET Framework
Available since 2.0
Return to top