HttpCachePolicyElement.MaximumStale Property
Definition
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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.