PipeWriter.AsStream(Boolean) Método

Definição

Retorna o Stream subjacente encapsulado pelo PipeWriter.Returns the underlying Stream wrapped by the PipeWriter.

public virtual System.IO.Stream AsStream (bool leaveOpen = false);
abstract member AsStream : bool -> System.IO.Stream
override this.AsStream : bool -> System.IO.Stream
Public Overridable Function AsStream (Optional leaveOpen As Boolean = false) As Stream

Parâmetros

leaveOpen
Boolean

Um sinalizador opcional que indica se o descarte das Stream retornadas deixa PipeReader em aberto (true) ou completa PipeReader (false).An optional flag that indicates whether disposing the returned Stream leaves PipeReader open (true) or completes PipeReader (false).

Retornos

O fluxo subjacente.The underlying stream.

Aplica-se a