IAppDomainSetup.ConfigurationFile IAppDomainSetup.ConfigurationFile IAppDomainSetup.ConfigurationFile IAppDomainSetup.ConfigurationFile Property


获取或设置应用程序域的配置文件的名称。Gets or sets the name of the configuration file for an application domain.

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


指定配置文件名称的 StringA String that specifies the name of the configuration file.


配置文件描述的搜索规则和应用程序域的配置数据。The configuration file describes the search rules and configuration data for the application domain. 创建应用程序域的主机负责提供此数据,因为有意义的值不同情形。The host that creates the application domain is responsible for supplying this data because the meaningful values vary from situation to situation.

例如,ASP.NET 应用程序的配置数据存储的每个应用程序、 站点和计算机,可执行文件的配置数据存储的每个应用程序、 用户和计算机时。For example, the configuration data for ASP.NET applications is stored for each application, site, and computer, while the configuration data for an executable is stored for each application, user, and computer. 只有主机知道特定情况的配置数据的具体信息。Only the host knows the specifics of the configuration data for a particular circumstance.

后便无法更改此属性AppDomain已完成其第一次绑定。This property cannot be changed after the AppDomain has finished its first bind.