Compartir por


AppDomain.SetCachePath(String) Método

Definición

Precaución

AppDomain.SetCachePath has been deprecated and is not supported.

Precaución

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

Precaución

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

Establece la ruta de acceso del directorio especificada como la ubicación donde se instantánean los ensamblados.

public:
 void SetCachePath(System::String ^ path);
public:
 virtual void SetCachePath(System::String ^ path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated and is not supported.")]
public void SetCachePath(string? path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string? path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string path);
public void SetCachePath(string path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Security.SecurityCritical]
public void SetCachePath(string path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string path);
[<System.Obsolete("AppDomain.SetCachePath has been deprecated and is not supported.")>]
member this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.SetCachePath : string -> unit
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
[<System.Security.SecurityCritical>]
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
Public Sub SetCachePath (path As String)

Parámetros

path
String

Ruta de acceso completa a la ubicación de instantánea.

Implementaciones

Atributos

Excepciones

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

Comentarios

La ruta de acceso de caché se omite si la ApplicationName propiedad no está establecida. Vea la AppDomainSetup.CachePath propiedad .

Para obtener más información sobre la instantánea, vea Ensamblados de instantáneas.

Se aplica a

Consulte también