HttpResponseStreamWriter.WriteAsync 方法

定义

重载

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

WriteAsync(Char)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

将字符异步写入文本流。

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

参数

value
Char

返回

适用于

WriteAsync(String)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

将字符串异步写入文本流。

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

参数

value
String

返回

适用于

WriteAsync(ReadOnlyMemory<Char>, CancellationToken)

Source:
HttpResponseStreamWriter.cs

以异步形式将字符内存区域写入文本流。

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

参数

cancellationToken
CancellationToken

返回

适用于

WriteAsync(Char[], Int32, Int32)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

以异步形式将字符的子数组写入文本流。

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

参数

values
Char[]
index
Int32
count
Int32

返回

适用于