ConfigurationElementManageabilityProvider Class

Represents the behavior required to provide Group Policy updates for a NamedConfigurationElement.

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

public abstract class ConfigurationElementManageabilityProvider

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.