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

例外

适用于