HttpCachePolicyBase.SetAllowResponseInBrowserHistory(Boolean) 方法

定義

在衍生類別中覆寫時,讓回應適用於瀏覽器歷程記錄快取,不論伺服器上所進行的 HttpCacheability 設定為何。

public:
 virtual void SetAllowResponseInBrowserHistory(bool allow);
public virtual void SetAllowResponseInBrowserHistory (bool allow);
abstract member SetAllowResponseInBrowserHistory : bool -> unit
override this.SetAllowResponseInBrowserHistory : bool -> unit
Public Overridable Sub SetAllowResponseInBrowserHistory (allow As Boolean)

參數

allow
Boolean

true 表示要指示用戶端瀏覽器將回應儲存在瀏覽器歷程記錄快取;否則為 false

例外狀況

適用於