ConfigurationAllowExeDefinition Enumeration
Specifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.
Assembly: System.Configuration (in System.Configuration.dll)
| Member name | Description | |
|---|---|---|
| MachineOnly | The ConfigurationSection can be defined only in the Machine.config file. | |
| MachineToApplication | The ConfigurationSection can be defined either in the Machine.config file or in the Exe.config file in the client application directory. This is the default value. | |
| MachineToLocalUser | The ConfigurationSection can be defined in the Machine.config file, in the Exe.config file in the client application directory, in the User.config file in the roaming user directory, or in the User.config file in the local user directory. | |
| MachineToRoamingUser | The ConfigurationSection can be defined in the Machine.config file, in the Exe.config file in the client application directory, or in the User.config file in the roaming user directory. |
The values in this enumeration are optionally used when creating a new instance of the ConfigurationSection class. Note this enumeration applies to client applications only.
Available since 2.0