FlushResult FlushResult FlushResult FlushResult Struct

Definition

Result returned by FlushAsync(CancellationToken) call.

public value class FlushResult
public struct FlushResult
type FlushResult = struct
Public Structure FlushResult
Inheritance
FlushResultFlushResultFlushResultFlushResult

Constructors

FlushResult(Boolean, Boolean) FlushResult(Boolean, Boolean) FlushResult(Boolean, Boolean) FlushResult(Boolean, Boolean)

Creates a new instance of FlushResult setting IsCanceled and IsCompleted flags.

Properties

IsCanceled IsCanceled IsCanceled IsCanceled

true if the current FlushAsync(CancellationToken) operation was canceled; otherwise, false.

IsCompleted IsCompleted IsCompleted IsCompleted

true if the PipeWriter is complete; otherwise, false.

Applies to