AppDomainSetup::CachePath Property

Gets or sets the name of an area specific to the application where files are shadow copied.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual property String^ CachePath {
	String^ get () sealed;
	void set (String^ value) sealed;
}

Property Value

Type: System::String
The fully qualified name of the directory path and file name where files are shadow copied.

Implements

IAppDomainSetup::CachePath

In order for this property to have an effect, the ApplicationName property must also be set. If the ApplicationName property is not set, the CachePath property is ignored and the shadow copy cache location defaults to the download cache.

For more information on shadow copying, see Shadow Copying Assemblies.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft