Llegeix en anglès

Comparteix a través de


AppDomain.ClearShadowCopyPath Método

Definición

Precaución

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

Precaución

AppDomain.ClearShadowCopyPath has been deprecated and is not supported.

Precaución

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

Restablece la lista de directorios que contienen instantáneas de ensamblados en la cadena vacía ("").

C#
[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();
C#
[System.Obsolete("AppDomain.ClearShadowCopyPath has been deprecated and is not supported.")]
public void ClearShadowCopyPath();
C#
[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();
C#
public void ClearShadowCopyPath();
C#
[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();

Implementaciones

Atributos

Excepciones

La operación se intenta en un dominio de aplicación descargado.

Comentarios

La ruta de acceso de la instantánea es una lista de directorios donde se almacenan los ensamblados de instantáneas.

Para obtener más información, vea AppDomainSetup.ShadowCopyDirectories y Ensamblados de instantáneas.

Se aplica a

Producte Versions (Obsolet)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
.NET Standard (2.0, 2.1)

Consulte también