UnityConfigurationSection.DeserializeSection Method
Reads XML from the configuration file.
Namespace: Microsoft.Practices.Unity.Configuration
Assembly: Microsoft.Practices.Unity.Configuration (in Microsoft.Practices.Unity.Configuration.dll)
Syntax
'Declaration
Protected Overrides Sub DeserializeSection ( _
reader As XmlReader _
)
protected override void DeserializeSection(
XmlReader reader
)
protected:
virtual void DeserializeSection(
XmlReader^ reader
) override
protected override function DeserializeSection(
reader : XmlReader
)
Parameters
- reader
Type: System.Xml.XmlReader
The XmlReader object, which reads from the configuration file.
Exceptions
Exception | Condition |
---|---|
System.Configuration.ConfigurationErrorsException | reader found no elements in the configuration file. |