This documentation is archived and is not being maintained.

RequestCachingSection.DisableAllCaching Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a Boolean value that enables caching on the local computer.

Namespace: System.Net.Configuration
Assembly: System (in system.dll)

public bool DisableAllCaching { get; set; }
/** @property */
public boolean get_DisableAllCaching ()

/** @property */
public void set_DisableAllCaching (boolean value)

public function get DisableAllCaching () : boolean

public function set DisableAllCaching (value : boolean)

Property Value

true if caching is disabled on the local computer; otherwise, false.

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0