LineWrappingTextWriterWriteAsync(String) Method

Writes a string to the text stream asynchronously.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public override Task WriteAsync(
	string? value
)

Parameters

value  String
The string to write. If value is , nothing is written to the text stream.

Return Value

Task
A task that represents the asynchronous write operation.

Exceptions

ObjectDisposedExceptionThe text writer is disposed.
InvalidOperationExceptionThe text writer is currently in use by a previous write operation.

See Also