AppDomain.ClearShadowCopyPath Method ()

obsoleteCodeEntityP:System.AppDomainSetup.ShadowCopyDirectories Note: This API is now obsolete.

Resets the list of directories containing shadow copied assemblies to the empty string ("").

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

<ObsoleteAttribute("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead.")>
Public Sub ClearShadowCopyPath

Exception Condition

The operation is attempted on an unloaded application domain.

The shadow copy path is a list of directories where shadow copied assemblies are stored.

For more information, see AppDomainSetup.ShadowCopyDirectoriesand Shadow Copying Assemblies.


Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top