Редагувати

Поділитися через


HttpCachePolicyElement.MinimumFresh Property

Definition

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

Property Value

A TimeSpan value that specifies the minimum freshness specified in the configuration file.

Attributes

Remarks

This value specifies the amount of time before content expiration, during which the cached copy of the resource is acceptable.

Applies to