HttpResponseStreamWriter.WriteLineAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteLineAsync(Char) | |
WriteLineAsync(String) | |
WriteLineAsync(ReadOnlyMemory<Char>, CancellationToken) | |
WriteLineAsync(Char[], Int32, Int32) |
WriteLineAsync(Char)
- Source:
- HttpResponseStreamWriter.cs
以异步形式将字符写入文本流,后跟行终止符。
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
参数
- value
- Char
返回
适用于
WriteLineAsync(String)
- Source:
- HttpResponseStreamWriter.cs
以异步形式将字符串写入文本流,后跟行终止符。
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
参数
- value
- String
返回
适用于
WriteLineAsync(ReadOnlyMemory<Char>, CancellationToken)
- Source:
- HttpResponseStreamWriter.cs
以异步形式将字符内存区域的文本表示形式写入文本流,后跟行终止符。
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
参数
- value
- ReadOnlyMemory<Char>
- cancellationToken
- CancellationToken
返回
适用于
WriteLineAsync(Char[], Int32, Int32)
- Source:
- HttpResponseStreamWriter.cs
以异步形式将字符子数组写入文本流,后跟行终止符。
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
参数
- values
- Char[]
- index
- Int32
- count
- Int32