英語で読む

次の方法で共有


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.

指定されたディレクトリ名をプライベート パス リストに追加します。

C#
[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);
C#
[System.Obsolete("AppDomain.AppendPrivatePath has been deprecated and is not supported.")]
public void AppendPrivatePath (string? path);
C#
[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);
C#
public void AppendPrivatePath (string path);
C#
[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);
C#
[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);
C#
[System.Obsolete("AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead.")]
public void AppendPrivatePath (string path);

パラメーター

path
String

プライベート パスに追加するディレクトリ名。

実装

属性

例外

アンロードされたアプリケーション ドメインで操作しようとします。

注釈

アセンブリが既に読み込まれた後にプローブ パスが変更される可能性があるため、このプロパティを使用することはお勧めしません。 代わりに、AppDomainSetup.PrivateBinPath プロパティを使用してください。

プライベート パス (相対検索パス) は、アセンブリ リゾルバーがプライベート アセンブリをプローブするベース ディレクトリに対する相対パスです。

適用対象

製品 バージョン (廃止)
.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)