Freigeben über


AppDomain.SetCachePath(String) Methode

Definition

Achtung

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

Achtung

AppDomain.SetCachePath has been deprecated and is not supported.

Achtung

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

Achtung

Use AppDomainSetup.SetCachePath

Legt den angegebenen Verzeichnispfad als Speicherort für gespiegelte Assemblys fest.

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)

Parameter

path
String

Der vollqualifizierte Pfad des Speicherortes der Schattenkopie.

Implementiert

Attribute

Ausnahmen

Der Vorgang wird für eine entladene Anwendungsdomäne ausgeführt.

Hinweise

Der Cachepfad wird ignoriert, wenn die ApplicationName Eigenschaft nicht festgelegt ist. Weitere Informationen finden Sie unter der AppDomainSetup.CachePath-Eigenschaft.

Weitere Informationen zum Kopieren von Schatten finden Sie unter Shadow Copy Assemblys.

Gilt für

Siehe auch