DeserializeSection Method

ConfigurationSection.DeserializeSection Method (XmlReader)

 

This API supports the product 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
)

Parameters

reader
Type: System.Xml.XmlReader

The XmlReader object, which reads from the configuration file.

Exception Condition
ConfigurationErrorsException

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft