다음을 통해 공유


AppDomain.AppendPrivatePath(String) 메서드

정의

주의

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

주의

AppDomain.AppendPrivatePath has been deprecated and is not supported.

주의

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

주의

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

지정된 디렉터리 이름을 전용 경로 목록에 추가합니다.

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)

매개 변수

path
String

전용 경로에 추가되는 디렉터리 이름입니다.

구현

특성

예외

언로드된 애플리케이션 도메인에서 작업이 시도됩니다.

설명

어셈블리가 이미 로드된 후 어셈블리의 검색 경로를 변경할 수 있으므로 이 속성을 사용하지 않는 것이 좋습니다. 대신 AppDomainSetup.PrivateBinPath 속성을 사용하세요.

프라이빗 경로 또는 상대 검색 경로는 어셈블리 확인자가 프라이빗 어셈블리를 검색하는 기본 디렉터리를 기준으로 하는 경로입니다.

적용 대상