HttpCachePolicyElement.MinimumFresh Property
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 the minimum freshness permitted for a resource returned from the cache.
public:
property TimeSpan MinimumFresh { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("minimumFresh", DefaultValue="-10675199.02:48:05.4775808")]
public TimeSpan MinimumFresh { get; set; }
[<System.Configuration.ConfigurationProperty("minimumFresh", DefaultValue="-10675199.02:48:05.4775808")>]
member this.MinimumFresh : TimeSpan with get, set
Public Property MinimumFresh As TimeSpan
A TimeSpan value that specifies the minimum freshness specified in the configuration file.
- Attributes
This value specifies the amount of time before content expiration, during which the cached copy of the resource is acceptable.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: