31 lines
1.4 KiB
C#
31 lines
1.4 KiB
C#
using System;
|
|
|
|
namespace System.Net.Cache
|
|
{
|
|
/// <summary>Specifies the meaning of time values that control caching behavior for resources obtained using <see cref="T:System.Net.HttpWebRequest" /> objects.</summary>
|
|
// Token: 0x02000130 RID: 304
|
|
public enum HttpCacheAgeControl
|
|
{
|
|
/// <summary>For internal use only. The Framework will throw an <see cref="T:System.ArgumentException" /> if you try to use this member.</summary>
|
|
// Token: 0x04000AD9 RID: 2777
|
|
None,
|
|
/// <summary>Content can be taken from the cache if the time remaining before expiration is greater than or equal to the time specified with this value.</summary>
|
|
// Token: 0x04000ADA RID: 2778
|
|
MinFresh,
|
|
/// <summary>Content can be taken from the cache until it is older than the age specified with this value.</summary>
|
|
// Token: 0x04000ADB RID: 2779
|
|
MaxAge,
|
|
/// <summary>
|
|
/// <see cref="P:System.Net.Cache.HttpRequestCachePolicy.MaxAge" /> and <see cref="P:System.Net.Cache.HttpRequestCachePolicy.MinFresh" />.</summary>
|
|
// Token: 0x04000ADC RID: 2780
|
|
MaxAgeAndMinFresh,
|
|
/// <summary>Content can be taken from the cache after it has expired, until the time specified with this value elapses.</summary>
|
|
// Token: 0x04000ADD RID: 2781
|
|
MaxStale,
|
|
/// <summary>
|
|
/// <see cref="P:System.Net.Cache.HttpRequestCachePolicy.MaxAge" /> and <see cref="P:System.Net.Cache.HttpRequestCachePolicy.MaxStale" />.</summary>
|
|
// Token: 0x04000ADE RID: 2782
|
|
MaxAgeAndMaxStale = 6
|
|
}
|
|
}
|