PipeWriter.AsStream(Boolean) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Stream representation of 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
- leaveOpen
- Boolean
An optional flag that indicates whether disposing the returned Stream leaves PipeReader open (true
) or completes PipeReader (false
).
A stream that represents the PipeWriter.
Produto | Versões |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: