Op Englesch liesen Editéieren

Deelen iwwer


FlushResult Struct

Definition

Result returned by FlushAsync(CancellationToken) call.

C#
public struct FlushResult
Inheritance
FlushResult

Constructors

FlushResult(Boolean, Boolean)

Initializes a new instance of FlushResult struct setting the IsCanceled and IsCompleted flags.

Properties

IsCanceled

Gets a value that indicates whether the current FlushAsync(CancellationToken) operation was canceled by CancelPendingFlush().

IsCompleted

Gets a value that indicates the reader is no longer reading data written to the PipeWriter.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)