In this section: Creating an XML reader Validating XML data Data conformance Navigating through nodes Reading XML elements Reading XML attributes Reading XML content Converting to CLR types Asynchronous programming Security considerations throws an Xml Exception on XML parse errors.
ADP_Invalid Mixed Usage Of Access Token And User IDPassword=Cannot set the Access Token property if ' User ID', ' UID', ' Password', or ' PWD' has been specified in connection string.
Checks whether the current node is a content (non-white space text, CDATA, Element, End Element, Entity Reference, or End Entity) node.
If the node is not a content node, the reader skips ahead to the next content node or end of file.
The Xml Parser Context is used to provide more information, such as namespace resolution, DTD information, and so on that is required for parsing XML fragments.
Argument Exception occurs if the Validation Type property is set to DTD and the Xml Parser Context does not contain any DTD properties.