Edit

Share via


FlushResult Struct

Definition

Result returned by FlushAsync(CancellationToken) call.

public value class FlushResult
public struct FlushResult
type FlushResult = struct
Public Structure 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