RequestCachingSection.DisableAllCaching 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 a Boolean value that enables caching on the local computer.
public:
property bool DisableAllCaching { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("disableAllCaching", DefaultValue=false)]
public bool DisableAllCaching { get; set; }
[<System.Configuration.ConfigurationProperty("disableAllCaching", DefaultValue=false)>]
member this.DisableAllCaching : bool with get, set
Public Property DisableAllCaching As Boolean
Property Value
true
if caching is disabled on the local computer; otherwise, false
.
- Attributes
Remarks
If this configuration attribute is set to true
in any configuration file, caching is disabled globally, and all other cache related settings are ignored. In addition, caching cannot be enabled programmatically.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.