Assembly: System.Xml (in system.xml.dll)
The XmlValidatingReader class is obsolete in Microsoft .NET Framework version 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see Validating XML Data with XmlReader.
This method also releases any resources held while reading. If this reader was constructed by using an XmlTextReader, this method also calls Close on the underlying reader. If this reader was constructed by using a stream, this method also calls Close on the underlying stream.
If Close has already been called, no action is performed.
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.