CacheControlHeaderValue::MaxStaleLimit Property
.NET Framework (current version)
The maximum time, in seconds, an HTTP client is willing to accept a response that has exceeded its expiration time.
Assembly: System.Net.Http (in System.Net.Http.dll)
This property represents the value assigned to "max-stale" directive in a cache-control header field on an HTTP request.
If the MaxStaleLimit property is assigned a value other than zero, then the client is willing to accept a response that has exceeded its expiration time by no more than the specified number of seconds. If a value of zero is assigned to the MaxStaleLimit property, then the client is willing to accept a stale response of any age.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: