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

プロパティ値

適用対象