ResponseCacheAttribute.NoStore Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value which determines whether the data should be stored or not.
When set to true
, it sets "Cache-control" header to "no-store".
Ignores the "Location" parameter for values other than "None".
Ignores the "duration" parameter.
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