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


ConfigurationElementManageabilityProvider 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 the behavior required to provide Group Policy updates and to publish the ConfigurationSetting instances associated to a NamedConfigurationElement.

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

Syntax

'Declaration
PublicMustInheritClassConfigurationElementManageabilityProvider
publicabstractclassConfigurationElementManageabilityProvider
publicref classConfigurationElementManageabilityProviderabstract
publicabstractclass ConfigurationElementManageabilityProvider

Remarks

Subclasses define the implementation necessary to provide manageability for a specific type of configuration element. Element providers are usually necessary when dealing with collections of NameTypeConfigurationElement, as the concrete type of the elements in the collections is only known at runtime, and it is possible that the elements are defined in 'extension' assemblies. Element providers are registered with the configuration element types they provide manageability to using the ConfigurationElementManageabilityProviderAttribute attribute, which is bound to assemblies. Element providers are also responsible for generating the ADM instructions that describe the policies that can be used to override the values in the configuration elements. Usually the ADM instructions generated by element providers consist of a single policy with parts that map to the specific configuration element instance of the type the provider manages. This is not mandatory, however, and the ADM instructions generated by element providers must be consistent with the ADM structure determined by the section provider that interacts with them. ADM instructions must be generated for each element instance in a given context, using the elements' names to build each instruction key.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationElementManageabilityProvider
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationElementManageabilityProviderBase<T>

See Also

ConfigurationElementManageabilityProvider Members

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

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationSectionManageabilityProvider

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationElementManageabilityProviderAttribute

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.