HttpResponseStreamWriter.WriteAsync Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| WriteAsync(Char) | |
| WriteAsync(String) | |
| WriteAsync(ReadOnlyMemory<Char>, CancellationToken) | |
| WriteAsync(Char[], Int32, Int32) |
WriteAsync(Char)
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
Parametry
- value
- Char
Návraty
Platí pro
WriteAsync(String)
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
Parametry
- value
- String
Návraty
Platí pro
WriteAsync(ReadOnlyMemory<Char>, CancellationToken)
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
Parametry
- value
- ReadOnlyMemory<Char>
- cancellationToken
- CancellationToken
Návraty
Platí pro
WriteAsync(Char[], Int32, Int32)
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
Parametry
- values
- Char[]
- index
- Int32
- count
- Int32