IConfigurationSectionHandler.Create Method (Object, Object, XmlNode)
.NET Framework (current version)
Creates a configuration section handler.
Assembly: System (in System.dll)
Function Create ( parent As Object, configContext As Object, section As XmlNode ) As Object
Parameters
- parent
-
Type:
System.Object
Parent object.
- configContext
-
Type:
System.Object
Configuration context object.
- section
-
Type:
System.Xml.XmlNode
Section XML node.
Instances of the IConfigurationSectionHandler class must be thread safe and stateless. The Create method must be callable from multiple threads simultaneously.
Furthermore, the configuration object generated by the Create method must be thread safe and immutable. Because the configuration objects are cached by the configuration system, it is important not to modify the parent argument to Create. For example, if the return value of Create is only a small modification of the parent, actual modifications must be made on a clone of the parent, not the original.
.NET Framework
Available since 1.1
Available since 1.1
Show: