CacheProfile.Duration 속성

정의

응답이 캐시되는 기간(초)을 가져오거나 설정합니다. 이 속성을 null이 아닌 값으로 설정하면 "Cache-control" 헤더의 "max-age"가 에 Response설정됩니다.

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

속성 값

적용 대상