ReadResult Struct

Definition

Represents the result of a ReadAsync(CancellationToken) call.

public readonly struct ReadResult
Inheritance
ReadResult

Constructors

Properties

Buffer

Gets the ReadOnlySequence<T> that was read.

IsCanceled

Gets a value that indicates whether the current ReadAsync(CancellationToken) operation was canceled by CancelPendingRead().

IsCompleted

Gets a value that indicates whether the end of the data stream has been reached.

Applies to

Prodotto Versioni
.NET 6 (package-provided), 7 (package-provided), 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)