Share via


RequestCachingSection.UnspecifiedMaximumAge プロパティ

定義

有効期限の情報を持たないキャッシュされたリソースの最大保存期間として使用する値を取得または設定します。

public:
 property TimeSpan UnspecifiedMaximumAge { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("unspecifiedMaximumAge", DefaultValue="1.00:00:00")]
public TimeSpan UnspecifiedMaximumAge { get; set; }
[<System.Configuration.ConfigurationProperty("unspecifiedMaximumAge", DefaultValue="1.00:00:00")>]
member this.UnspecifiedMaximumAge : TimeSpan with get, set
Public Property UnspecifiedMaximumAge As TimeSpan

プロパティ値

キャッシュされたリソースの既定の有効期限を指定する TimeSpan

属性

注釈

このプロパティを設定すると、有効期限ヘッダー情報を持たないリソースがキャッシュ内で無期限に最新の状態に保たれなくなります。

適用対象