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
.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)