| XmlReaderCreate Method (XmlReader, XmlReaderSettings) |
Namespace: System.Xml
public static XmlReader Create( XmlReader reader, XmlReaderSettings settings )
| Exception | Condition |
|---|---|
| ArgumentNullException | The reader value is null. |
| InvalidOperationException | If the XmlReaderSettings object specifies a conformance level that is not consistent with conformance level of the underlying reader.-or-The underlying XmlReader is in an Error or Closed state. |