ClearShadowCopyPath Method

AppDomain::ClearShadowCopyPath Method ()

 
obsoleteCodeEntityP:System.AppDomainSetup.ShadowCopyDirectoriesNote: 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)

public:
[SecurityCriticalAttribute]
[ObsoleteAttribute("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")]
virtual void ClearShadowCopyPath() sealed

Exception Condition
AppDomainUnloadedException

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.

SecurityCriticalAttribute

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
Show:
© 2016 Microsoft