IAppDomainSetup.DynamicBase 属性

定义

获取或设置将在其中存储和访问动态生成文件的目录。Gets or sets the directory where dynamically generated files are stored and accessed.

public:
 property System::String ^ DynamicBase { System::String ^ get(); void set(System::String ^ value); };
public string DynamicBase { get; set; }
member this.DynamicBase : string with get, set
Public Property DynamicBase As String

属性值

String

指定包含动态程序集的目录的 StringA String that specifies the directory containing dynamic assemblies.

注解

创建时 AppDomain ,可以指定一个名为动态目录的目录来存储动态程序集。When an AppDomain is created, a directory called the Dynamic Directory can be specified to store dynamic assemblies. 此目录位于逻辑上 ApplicationBase ,但它可以驻留在目录的另一部分中。This directory is logically located under the ApplicationBase, although it can reside in another part of the directory.

在完成首次绑定后,不能更改此属性 AppDomainThis property cannot be changed after the AppDomain has finished its first bind.

适用于