This topic has not yet been rated - Rate this topic

TextWriter.WriteAsync Method (Char)

April 12, 2014

Writes a character to the text string or stream asynchronously.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)
public virtual Task WriteAsync(
	char value
)

Parameters

value
Type: System.Char
The character to write to the text stream.

Return Value

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

The text writer is disposed.

InvalidOperationException

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

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.