Partager via


HttpResponseStreamWriter.WriteAsync Méthode

Définition

Surcharges

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

WriteAsync(Char)

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

Écrit de façon asynchrone un caractère dans le flux de texte.

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

Paramètres

value
Char

Retours

S’applique à

WriteAsync(String)

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

Écrit de façon asynchrone une chaîne dans le flux de texte.

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

Paramètres

value
String

Retours

S’applique à

WriteAsync(ReadOnlyMemory<Char>, CancellationToken)

Source:
HttpResponseStreamWriter.cs

Écrit de façon asynchrone une zone de mémoire de caractères dans le flux de texte.

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

Paramètres

cancellationToken
CancellationToken

Retours

S’applique à

WriteAsync(Char[], Int32, Int32)

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

Écrit de façon asynchrone un sous-tableau de caractères dans le flux de texte.

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

Paramètres

values
Char[]
index
Int32
count
Int32

Retours

S’applique à