Share via


HttpResponseStreamWriter.WriteLineAsync Method

Definition

Overloads

WriteLineAsync(Char)
WriteLineAsync(String)
WriteLineAsync(ReadOnlyMemory<Char>, CancellationToken)
WriteLineAsync(Char[], Int32, Int32)

WriteLineAsync(Char)

Source:
HttpResponseStreamWriter.cs

Asynchronously writes a character to the text stream, followed by a line terminator.

public override System.Threading.Tasks.Task WriteLineAsync (char value);
override this.WriteLineAsync : char -> System.Threading.Tasks.Task
Public Overrides Function WriteLineAsync (value As Char) As Task

Parameters

value
Char

Returns

Applies to

WriteLineAsync(String)

Source:
HttpResponseStreamWriter.cs

Asynchronously writes a string to the text stream, followed by a line terminator.

public override System.Threading.Tasks.Task WriteLineAsync (string? value);
override this.WriteLineAsync : string -> System.Threading.Tasks.Task
Public Overrides Function WriteLineAsync (value As String) As Task

Parameters

value
String

Returns

Applies to

WriteLineAsync(ReadOnlyMemory<Char>, CancellationToken)

Source:
HttpResponseStreamWriter.cs

Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator.

public override System.Threading.Tasks.Task WriteLineAsync (ReadOnlyMemory<char> value, System.Threading.CancellationToken cancellationToken = default);
override this.WriteLineAsync : ReadOnlyMemory<char> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function WriteLineAsync (value As ReadOnlyMemory(Of Char), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to

WriteLineAsync(Char[], Int32, Int32)

Source:
HttpResponseStreamWriter.cs

Asynchronously writes a subarray of characters to the text stream, followed by a line terminator.

public override System.Threading.Tasks.Task WriteLineAsync (char[] values, int index, int count);
override this.WriteLineAsync : char[] * int * int -> System.Threading.Tasks.Task
Public Overrides Function WriteLineAsync (values As Char(), index As Integer, count As Integer) As Task

Parameters

values
Char[]
index
Int32
count
Int32

Returns

Applies to