IConfigurationSectionHandler.Create Method

Creates a configuration section handler.

Namespace: System.Configuration
Assembly: System (in system.dll)

Object Create (
	Object parent,
	Object configContext,
	XmlNode section
Object Create (
	Object parent, 
	Object configContext, 
	XmlNode section
function Create (
	parent : Object, 
	configContext : Object, 
	section : XmlNode
) : Object



Parent object.


Configuration context object.


Section XML node.

Return Value

The created section handler object.

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0