Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property String^ CachePath {
	virtual String^ get() sealed;
	virtual 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.

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.

FileIOPermission

for access to the path information. Associated enumeration: FileIOPermissionAccess::PathDiscovery

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft