HttpCacheDirectiveHeaderValueCollection.MaxStale 属性

定义

获取或设置 Cache-Control HTTP 标头中 max-stale 指令的值。

public:
 property IReference<TimeSpan> ^ MaxStale { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> MaxStale();

void MaxStale(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> MaxStale { get; set; }
var iReference = httpCacheDirectiveHeaderValueCollection.maxStale;
httpCacheDirectiveHeaderValueCollection.maxStale = iReference;
Public Property MaxStale As Nullable(Of TimeSpan)

属性值

缓存控制 HTTP 标头中 max-stale 指令的值

适用于