ConfigurationAllowExeDefinition Enumeration
TOC
Collapse the table of content
Expand the table of content

ConfigurationAllowExeDefinition Enumeration

 

Specifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.

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

public enum ConfigurationAllowExeDefinition

Member nameDescription
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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft