AppDomain.ClearShadowCopyPath AppDomain.ClearShadowCopyPath AppDomain.ClearShadowCopyPath AppDomain.ClearShadowCopyPath Method

Definition

Warning

This API is now obsolete.

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

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

Implements

Exceptions

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.

Security

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

Applies to

See also