Compartir a través de


FileBufferingWriteStream.DrainBufferAsync Método

Definición

Sobrecargas

DrainBufferAsync(PipeWriter, CancellationToken)

Purga el contenido almacenado en búfer en destination.

DrainBufferAsync(Stream, CancellationToken)

Purga el contenido almacenado en búfer en destination.

DrainBufferAsync(PipeWriter, CancellationToken)

Source:
FileBufferingWriteStream.cs

Purga el contenido almacenado en búfer en destination.

public System.Threading.Tasks.Task DrainBufferAsync (System.IO.Pipelines.PipeWriter destination, System.Threading.CancellationToken cancellationToken = default);
member this.DrainBufferAsync : System.IO.Pipelines.PipeWriter * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DrainBufferAsync (destination As PipeWriter, Optional cancellationToken As CancellationToken = Nothing) As Task

Parámetros

destination
PipeWriter

al PipeWriter que se va a purgar el contenido almacenado en búfer.

Devoluciones

que Task representa la operación de purga asincrónica.

Se aplica a

DrainBufferAsync(Stream, CancellationToken)

Source:
FileBufferingWriteStream.cs

Purga el contenido almacenado en búfer en destination.

public System.Threading.Tasks.Task DrainBufferAsync (System.IO.Stream destination, System.Threading.CancellationToken cancellationToken = default);
member this.DrainBufferAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DrainBufferAsync (destination As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task

Parámetros

destination
Stream

al Stream que se va a purgar el contenido almacenado en búfer.

Devoluciones

que Task representa la operación de purga asincrónica.

Se aplica a