AppDomainSetup::ConfigurationFile Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the name of the configuration file for an application domain.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

property String^ ConfigurationFile {
	virtual String^ get() sealed;
	virtual void set(String^ value) sealed;

Property Value

Type: System::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.

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.


for access to the path information. Associated enumeration: FileIOPermissionAccess::PathDiscovery

.NET Framework
Available since 1.1
Return to top