- 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 element content converted to the requested typed object.
This is the asynchronous version of XmlReader.ReadElementContentAs(Type, IXmlNamespaceResolver), with the same functionality. To use this method, you must set the XmlReaderSettings.Async flag to true.