System.IO.TextWriter.WriteAsync Method

Writes a character to the text string or stream asynchronously.

Syntax

public virtual System.Threading.Tasks.Task WriteAsync (char value)

Parameters

value
The character to write to the text stream.

Returns

A task that represents the asynchronous write operation.

Remarks

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(char) method, see the StreamWriter.WriteAsync(char) method.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0