Editare

Partajați prin


HttpCachePolicyElement.MaximumStale Property

Definition

Gets or sets the maximum staleness value permitted for a resource returned from the cache.

public:
 property TimeSpan MaximumStale { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maximumStale", DefaultValue="-10675199.02:48:05.4775808")]
public TimeSpan MaximumStale { get; set; }
[<System.Configuration.ConfigurationProperty("maximumStale", DefaultValue="-10675199.02:48:05.4775808")>]
member this.MaximumStale : TimeSpan with get, set
Public Property MaximumStale As TimeSpan

Property Value

A TimeSpan value that is set to the maximum staleness value specified in the configuration file.

Attributes

Remarks

This property specifies the amount of time after content expiration during which the cached copy of the resource is acceptable.

Applies to