StringWriter.WriteAsync Method (Char)

May 11, 2014

Writes a character to the string asynchronously.

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

public override Task WriteAsync(
	char value
)

Parameters

value
Type: System.Char
The character to write to the string.

Return Value

Type: System.Threading.Tasks.Task
A task that represents the asynchronous write operation.

ExceptionCondition
ObjectDisposedException

The string writer is disposed.

InvalidOperationException

The string writer is currently in use by a previous write operation.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft