FlushResult Struct

Definition

Result returned by FlushAsync(CancellationToken) call.

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

产品 版本
.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)