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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應