AppDomainSetup.ConfigurationFile Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public string ConfigurationFile { get; set; }

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.

FileIOPermission

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

.NET Framework
Available since 1.1
Return to top
Show: