Freigeben über


AppDomain.AppendPrivatePath(String) Methode

Definition

Achtung

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

Achtung

AppDomain.AppendPrivatePath has been deprecated and is not supported.

Achtung

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

Achtung

AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead.

Fügt den angegebenen Verzeichnisnamen an die Liste der privaten Pfade an.

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

Parameter

path
String

Der Name des Verzeichnisses, das an den privaten Pfad angefügt werden soll.

Implementiert

Attribute

Ausnahmen

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

Hinweise

Die Verwendung dieser Eigenschaft wird nicht empfohlen, da sie den Probingpfad für Assemblys ändern kann, nachdem sie bereits geladen wurden. Verwenden Sie stattdessen die AppDomainSetup.PrivateBinPath-Eigenschaft.

Der private Pfad oder der relative Suchpfad ist der Pfad relativ zum Basisverzeichnis, in dem die Assemblylöser-Prüfpunkte für private Assemblys verwendet werden.

Gilt für