Редагувати

Поділитися через


StreamPipeExtensions Class

Definition

Provides extension methods for Stream that support read and write operations directly into pipes.

public ref class StreamPipeExtensions abstract sealed
public static class StreamPipeExtensions
type StreamPipeExtensions = class
Public Module StreamPipeExtensions
Inheritance
StreamPipeExtensions

Methods

CopyToAsync(Stream, PipeWriter, CancellationToken)

Asynchronously reads the bytes from the Stream and writes them to the specified PipeWriter, using a cancellation token.

Applies to