TextWriter.WriteAsync Method (Char())

July 28, 2014

Writes a character array to the text string or stream asynchronously.

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

'Declaration
Public Function WriteAsync ( _
	buffer As Char() _
) As Task

Parameters

buffer
Type: System.Char ()
The character array to write to the text stream. If buffer is Nothing, nothing is written.

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

Show:
© 2014 Microsoft