Edit

Bagikan melalui


ConfigurationAllowExeDefinition Enum

Definition

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

public enum class ConfigurationAllowExeDefinition
public enum ConfigurationAllowExeDefinition
type ConfigurationAllowExeDefinition = 
Public Enum ConfigurationAllowExeDefinition
Inheritance
ConfigurationAllowExeDefinition

Fields

Name Value Description
MachineOnly 0

The ConfigurationSection can be defined only in the Machine.config file.

MachineToApplication 100

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.

MachineToRoamingUser 200

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.

MachineToLocalUser 300

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.

Remarks

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.

Applies to