PipeWriter.CanGetUnflushedBytes Property

Definition

Gets a value that indicates whether the current PipeWriter supports reporting the count of unflushed bytes.

C#
public virtual bool CanGetUnflushedBytes { get; }

Property Value

trueIf a class derived from PipeWriter does not support getting the unflushed bytes, calls to UnflushedBytes throw NotImplementedException.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)