Επεξεργασία

Κοινή χρήση μέσω


RequestCachingSection.DisableAllCaching Property

Definition

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