A task that represents the asynchronous write operation.
The System.IO.TextWriter class is an abstract class. Therefore, you do not instantiate it in your code. For an example of using the TextWriter.WriteAsync(string) method, see the StreamWriter.WriteAsync(string) method.