Поделиться через


ConfigurationSetting Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents a subset of a running application's configuration as an instrumentation instance class.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
<InstrumentationClassAttribute(InstrumentationType.Abstract)> _
PublicMustInheritClassConfigurationSetting
[InstrumentationClassAttribute(InstrumentationType.Abstract)]
publicabstractclassConfigurationSetting
[InstrumentationClassAttribute(InstrumentationType::Abstract)]
publicref classConfigurationSettingabstract
publicabstractclass ConfigurationSetting

Remarks

Class ConfigurationSetting is the base of the hierarchy of classes that represent configuration information as WMI objects. It allows generic queries to be written to retrieve all the configuration information published for a given application. Properties ApplicationName and SectionName provide a way to filter the required information to a single application or configuration section.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationSetting
    Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.Manageability.CachingBlockSetting
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.InstrumentationSetting
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.NamedConfigurationSetting
    Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Manageability.DatabaseBlockSetting
    Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Manageability.LoggingBlockSetting
    Microsoft.Practices.EnterpriseLibrary.Security.Configuration.Manageability.SecurityBlockSetting
    Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Manageability.CryptographyBlockSetting

See Also

ConfigurationSetting Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.