次の方法で共有


AppDomain.SetDynamicBase(String) メソッド

定義

注意事項

AppDomain.SetDynamicBase has been deprecated and is not supported.

注意事項

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

注意事項

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

動的に生成されたファイルが格納およびアクセスされるサブディレクトリのベース ディレクトリとして、指定されたディレクトリ パスを確立します。

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

パラメーター

path
String

動的アセンブリが格納されるサブディレクトリのベース ディレクトリである完全修飾パス。

属性

例外

アンロードされたアプリケーション ドメインに対して操作が試行されます。

注釈

このメソッドは、このインスタンスに関連付けられている内部AppDomainSetupDynamicBase プロパティを設定します。

適用対象

こちらもご覧ください