ConfigurationAllowDefinition 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 ConfigurationAllowDefinition
public enum ConfigurationAllowDefinition
type ConfigurationAllowDefinition =
Public Enum ConfigurationAllowDefinition
- Inheritance
Fields
Everywhere | 300 | The ConfigurationSection can be defined anywhere. |
MachineOnly | 0 | The ConfigurationSection can be defined only in the Machine.config file. |
MachineToApplication | 200 | The ConfigurationSection can be defined in either the Machine.config file, the machine-level Web.config file found in the same directory as Machine.config, or the top-level application Web.config file found in the virtual-directory root, but not in subdirectories of a virtual root. |
MachineToWebRoot | 100 | The ConfigurationSection can be defined in either the Machine.config file or the machine-level Web.config file found in the same directory as Machine.config, but not in application Web.config files. |
Remarks
The values in this enumeration are optionally used when creating a new instance of the ConfigurationSection class.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback을 참조하세요.
출시 예정: 2024년 내내 콘텐츠 피드백 메커니즘인 GitHub 문제를 단계적으로 폐지하고 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은다음에 대한 사용자 의견 제출 및 보기