Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


FlushResult(Boolean, Boolean) Constructor

Definition

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

C#
public FlushResult(bool isCanceled, bool isCompleted);

Parameters

isCanceled
Boolean

true to indicate the current FlushAsync(CancellationToken) operation that produced this FlushResult was canceled by CancelPendingFlush(); otherwise, false.

isCompleted
Boolean

true to indicate the reader is no longer reading data written to the PipeWriter.

Applies to

Termék Verziók
.NET 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)