Share via


HttpCachePolicyBase.SetAllowResponseInBrowserHistory(Boolean) Méthode

Définition

En cas de substitution dans une classe dérivée, rend la réponse disponible dans le cache d’historique du navigateur, quel que soit le paramètre HttpCacheability sur le serveur.

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)

Paramètres

allow
Boolean

true pour indiquer au navigateur client qu’il doit stocker les réponses dans son cache d’historique ; sinon, false.

Exceptions

S’applique à