ConfigurationSection.DeserializeSection Method (XmlReader)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

abstract DeserializeSection : 
        reader:XmlReader -> unit
override DeserializeSection : 
        reader:XmlReader -> unit

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: