ResponseCacheAttribute.Duration 속성

정의

응답이 캐시되는 기간을 초 단위로 가져오거나 설정합니다. 이렇게 하면 "Cache-control" 헤더에서 "max-age"가 설정됩니다.

public:
 property int Duration { int get(); void set(int value); };
public int Duration { get; set; }
member this.Duration : int with get, set
Public Property Duration As Integer

속성 값

적용 대상