AppDomain.AppendPrivatePath(String) Metoda

Definicja

Przestroga

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

Przestroga

AppDomain.AppendPrivatePath has been deprecated and is not supported.

Przestroga

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

Przestroga

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

Dołącza określoną nazwę katalogu do listy ścieżek prywatnych.

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)

Parametry

path
String

Nazwa katalogu, który ma zostać dołączony do ścieżki prywatnej.

Implementuje

Atrybuty

Wyjątki

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

Uwagi

Użycie tej właściwości nie jest zalecane, ponieważ może zmienić ścieżkę sondowania dla zestawów po ich załadowaniu. AppDomainSetup.PrivateBinPath Zamiast tego użyj właściwości .

Ścieżka prywatna lub względna ścieżka wyszukiwania jest ścieżką względną względem katalogu podstawowego, w którym program rozpoznawania zestawów sonduje zestawy prywatne.

Dotyczy