AppDomain.ClearShadowCopyPath Method

Definition

Warning

This API is now obsolete.

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

public:
 void ClearShadowCopyPath();
public:
 virtual void ClearShadowCopyPath();
[System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearShadowCopyPath ();
[System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearShadowCopyPath ();
[System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. https://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearShadowCopyPath ();
public void ClearShadowCopyPath ();
[System.Security.SecurityCritical]
[System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearShadowCopyPath ();
[System.Obsolete("Use AppDomainSetup.ShadowCopyDirectories")]
public void ClearShadowCopyPath ();
member this.ClearShadowCopyPath : unit -> unit
abstract member ClearShadowCopyPath : unit -> unit
override this.ClearShadowCopyPath : unit -> unit
Public Sub ClearShadowCopyPath ()

Implements

Attributes

Exceptions

The operation is attempted on an unloaded application domain.

Remarks

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

For more information, see AppDomainSetup.ShadowCopyDirectories and Shadow Copying Assemblies.

Applies to

See also