Op Englesch liesen Editéieren

Deelen iwwer


FlushResult Struct

Definition

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.

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)