Asynchronously copies everything from the System.Xml.XPath.XPathNavigator object to the writer. The position of the System.Xml.XPath.XPathNavigator remains unchanged.
- navigator
- The System.Xml.XPath.XPathNavigator to copy from.
- defattr
- true to copy the default attributes; otherwise, false.
The task that represents the asynchronous WriteNode operation.
This is the asynchronous version of XmlWriter.WriteNode(System.Xml.XPath.XPathNavigator, bool), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.