ReadResult ReadResult ReadResult ReadResult Struct

Définition

Résultat d’un appel ReadAsync(CancellationToken).The result of a ReadAsync(CancellationToken) call.

public value class ReadResult
public struct ReadResult
type ReadResult = struct
Public Structure ReadResult
Héritage
ReadResultReadResultReadResultReadResult

Constructeurs

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

Crée une nouvelle instance de ReadResult définissant des indicateurs IsCanceled et IsCompleted.Creates a new instance of ReadResult setting IsCanceled and IsCompleted flags.

Propriétés

Buffer Buffer Buffer Buffer

Obtient l’élément ReadOnlySequence<T> qui a été lu.Gets the ReadOnlySequence<T> that was read.

IsCanceled IsCanceled IsCanceled IsCanceled

true si l'opération ReadAsync(CancellationToken) actuelle a été annulée ; sinon, false.true if the current ReadAsync(CancellationToken) operation was canceled; otherwise, false.

IsCompleted IsCompleted IsCompleted IsCompleted

true si l’opération PipeReader est terminée ; sinon, false.true if the PipeReader is complete; otherwise, false.

S’applique à