Udostępnij za pośrednictwem


AppDomain.SetCachePath(String) Metoda

Definicja

Przestroga

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

Przestroga

AppDomain.SetCachePath has been deprecated and is not supported.

Przestroga

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

Przestroga

Use AppDomainSetup.SetCachePath

Określa określoną ścieżkę katalogu jako lokalizację, w której zestawy są kopiowane w tle.

public:
 void SetCachePath(System::String ^ path);
public:
 virtual void SetCachePath(System::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.")]
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("Use AppDomainSetup.SetCachePath")]
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")>]
member this.SetCachePath : string -> unit
[<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. 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
[<System.Obsolete("Use AppDomainSetup.SetCachePath")>]
member this.SetCachePath : string -> unit
[<System.Obsolete("Use AppDomainSetup.SetCachePath")>]
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
Public Sub SetCachePath (path As String)

Parametry

path
String

W pełni kwalifikowana ścieżka do lokalizacji kopiowania w tle.

Implementuje

Atrybuty

Wyjątki

Próba wykonania operacji w niezaładowanej domenie aplikacji.

Uwagi

Ścieżka pamięci podręcznej jest ignorowana, jeśli właściwość nie jest ustawiona ApplicationName . AppDomainSetup.CachePath Zobacz właściwość .

Aby uzyskać więcej informacji na temat kopiowania w tle, zobacz Zestawy kopiowania w tle.

Dotyczy

Zobacz też