AppDomain.ClearShadowCopyPath 方法

定义

注意

AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. https://go.microsoft.com/fwlink/?linkid=14202

注意

AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202

注意

Use AppDomainSetup.ShadowCopyDirectories

将包含影像复制的程序集的目录列表重置为空字符串 ("")。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 ();
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. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Security.SecurityCritical]
public void ClearShadowCopyPath ();
[System.Obsolete("Use AppDomainSetup.ShadowCopyDirectories")]
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")>]
member this.ClearShadowCopyPath : unit -> unit
[<System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ClearShadowCopyPath : unit -> unit
abstract member ClearShadowCopyPath : unit -> unit
override this.ClearShadowCopyPath : unit -> unit
[<System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member ClearShadowCopyPath : unit -> unit
override this.ClearShadowCopyPath : unit -> unit
[<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>]
abstract member ClearShadowCopyPath : unit -> unit
override this.ClearShadowCopyPath : unit -> unit
[<System.Obsolete("Use AppDomainSetup.ShadowCopyDirectories")>]
member this.ClearShadowCopyPath : unit -> unit
[<System.Obsolete("Use AppDomainSetup.ShadowCopyDirectories")>]
abstract member ClearShadowCopyPath : unit -> unit
override this.ClearShadowCopyPath : unit -> unit
Public Sub ClearShadowCopyPath ()

实现

属性

例外

在卸载的应用程序域上尝试该操作。The operation is attempted on an unloaded application domain.

注解

卷影副本路径是存储卷影复制的程序集的目录的列表。The shadow copy path is a list of directories where shadow copied assemblies are stored.

有关详细信息,请参阅 AppDomainSetup.ShadowCopyDirectories卷影复制程序集For more information, see AppDomainSetup.ShadowCopyDirectories and Shadow Copying Assemblies.

适用于

另请参阅