Asynchronously writes out the given white space.
ws The string of white space characters.
The task that represents the asynchronous WriteWhitespace operation.
This is the asynchronous version of XmlWriter.WriteWhitespace(string), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.