ConfigurationAllowExeDefinition Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Fields
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. |
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. |
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. |
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈