AppDomain.AppendPrivatePath(String) Metoda

Definice

Upozornění

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

Upozornění

AppDomain.AppendPrivatePath has been deprecated and is not supported.

Upozornění

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

Upozornění

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

Připojí zadaný název adresáře k seznamu privátních cest.

[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);

Parametry

path
String

Název adresáře, který se má připojit k privátní cestě.

Implementuje

Atributy

Výjimky

Dojde k pokusu o operaci na uvolněné doméně aplikace.

Poznámky

Použití této vlastnosti se nedoporučuje, protože může změnit cestu pro sondování sestavení po jejich načtení. Místo toho AppDomainSetup.PrivateBinPath použijte vlastnost.

Soukromá cesta nebo relativní cesta hledání je cesta relativní vzhledem k základnímu adresáři, kde se sondy překladače sestavení pro privátní sestavení.

Platí pro

Produkt Verze (zastaralé)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7)
.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)
.NET Standard (2.0, 2.1)