HttpResponseStreamWriter.WriteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteAsync(Char) | |
WriteAsync(String) | |
WriteAsync(ReadOnlyMemory<Char>, CancellationToken) | |
WriteAsync(Char[], Int32, Int32) |
WriteAsync(Char)
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
Writes a character to the text stream asynchronously.
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
Parameters
- value
- Char
Returns
Applies to
WriteAsync(String)
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
Writes a string to the text stream asynchronously.
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
Parameters
- value
- String
Returns
Applies to
WriteAsync(ReadOnlyMemory<Char>, CancellationToken)
- Source:
- HttpResponseStreamWriter.cs
Asynchronously writes a character memory region to the text stream.
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
Parameters
- value
- ReadOnlyMemory<Char>
- cancellationToken
- CancellationToken
Returns
Applies to
WriteAsync(Char[], Int32, Int32)
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
Writes a subarray of characters to the text stream asynchronously.
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
Parameters
- values
- Char[]
- index
- Int32
- count
- Int32