AppDomainSetup.ConfigurationFile AppDomainSetup.ConfigurationFile AppDomainSetup.ConfigurationFile AppDomainSetup.ConfigurationFile Property

定义

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

public:
 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

属性值

配置文件的名称。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.

安全性

FileIOPermission
用于访问的路径信息。for access to the path information. 关联的枚举: PathDiscoveryAssociated enumeration: PathDiscovery

适用于

另请参阅