ReadResult ReadResult ReadResult ReadResult Struct

Definition

Das Ergebnis eines ReadAsync(CancellationToken)-Aufrufs.The result of a ReadAsync(CancellationToken) call.

public value class ReadResult
public struct ReadResult
type ReadResult = struct
Public Structure ReadResult
Vererbung
ReadResultReadResultReadResultReadResult

Konstruktoren

ReadResult(ReadOnlySequence<Byte>, Boolean, Boolean) ReadResult(ReadOnlySequence<Byte>, Boolean, Boolean) ReadResult(ReadOnlySequence<Byte>, Boolean, Boolean) ReadResult(ReadOnlySequence<Byte>, Boolean, Boolean)

Erstellt eine neue Instanz der ReadResult-Einstellung IsCanceled und IsCompleted-Flags.Creates a new instance of ReadResult setting IsCanceled and IsCompleted flags.

Eigenschaften

Buffer Buffer Buffer Buffer

Ruft die gelesene ReadOnlySequence<T> ab.Gets the ReadOnlySequence<T> that was read.

IsCanceled IsCanceled IsCanceled IsCanceled

true, wenn der aktuelle ReadAsync(CancellationToken)-Vorgang abgebrochen wurde, andernfalls false.true if the current ReadAsync(CancellationToken) operation was canceled; otherwise, false.

IsCompleted IsCompleted IsCompleted IsCompleted

true, wenn der PipeReader abgeschlossen ist, andernfalls false.true if the PipeReader is complete; otherwise, false.

Gilt für: