다음을 통해 공유


FileBufferingWriteStream.DrainBufferAsync 메서드

정의

오버로드

DrainBufferAsync(PipeWriter, CancellationToken)

버퍼링된 콘텐츠를 로 드레이닝합니다 destination.

DrainBufferAsync(Stream, CancellationToken)

버퍼링된 콘텐츠를 로 드레이닝합니다 destination.

DrainBufferAsync(PipeWriter, CancellationToken)

Source:
FileBufferingWriteStream.cs

버퍼링된 콘텐츠를 로 드레이닝합니다 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

매개 변수

destination
PipeWriter

PipeWriter 버퍼링된 콘텐츠를 드레이닝할 입니다.

반환

Task 비동기 드레이닝 작업을 나타내는 입니다.

적용 대상

DrainBufferAsync(Stream, CancellationToken)

Source:
FileBufferingWriteStream.cs

버퍼링된 콘텐츠를 로 드레이닝합니다 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

매개 변수

destination
Stream

Stream 버퍼링된 콘텐츠를 드레이닝할 입니다.

반환

Task 비동기 드레이닝 작업을 나타내는 입니다.

적용 대상