This documentation is archived and is not being maintained.

ConfigurationSection.DeserializeSection Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Reads XML from the configuration file.

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

protected internal virtual void DeserializeSection (
	XmlReader reader
protected void DeserializeSection (
	XmlReader reader
protected internal function DeserializeSection (
	reader : XmlReader
Not applicable.



The XmlReader object, which reads from the configuration file.

Exception typeCondition


reader found no elements in the configuration file.

Deserialization refers to the reading of XML data from a configuration file, its transformation into real-time data, and its storage in an object.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0