- returnType
- The type of the value to be returned.
- namespaceResolver
- An System.Xml.IXmlNamespaceResolver object that is used to resolve any namespace prefixes related to type conversion.
The concatenated text content or attribute value converted to the requested type.
This is the asynchronous version of XmlReader.ReadContentAs(Type, IXmlNamespaceResolver), with the same functionality. To use this method, you must set the XmlReaderSettings.Async flag to true.