Share via


ResponseCacheAttribute.NoStore 屬性

定義

取得或設定值,這個值會決定是否應該儲存資料。 當設定為 true 時,它會將 「Cache-control」 標頭設定為 「no-store」。 忽略 「None」 以外的值的 「Location」 參數。 忽略 「duration」 參數。

public:
 property bool NoStore { bool get(); void set(bool value); };
public bool NoStore { get; set; }
member this.NoStore : bool with get, set
Public Property NoStore As Boolean

屬性值

適用於