HttpCachePolicyElement.MaximumAge 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
캐시에서 반환된 리소스에 허용되는 최대 기간을 가져오거나 설정합니다.
public:
property TimeSpan MaximumAge { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maximumAge", DefaultValue="10675199.02:48:05.4775807")]
public TimeSpan MaximumAge { get; set; }
[<System.Configuration.ConfigurationProperty("maximumAge", DefaultValue="10675199.02:48:05.4775807")>]
member this.MaximumAge : TimeSpan with get, set
Public Property MaximumAge As TimeSpan
속성 값
TimeSpan 구성 파일에 지정된 캐시된 리소스의 최대 기간을 지정하는 값입니다.
- 특성
설명
캐시된 리소스 복사본이 지정된 시간 값보다 오래된 경우 캐시된 리소스를 서버의 리소스와 비교하여 리소스의 유효성을 다시 검사해야 합니다.