ReadResult ReadResult ReadResult ReadResult Struct

Definición

El resultado de una llamada de ReadAsync(CancellationToken).The result of a ReadAsync(CancellationToken) call.

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

Constructores

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

Crea una nueva instancia de ReadResult configurando las marcas IsCanceled y IsCompleted.Creates a new instance of ReadResult setting IsCanceled and IsCompleted flags.

Propiedades

Buffer Buffer Buffer Buffer

Obtiene el ReadOnlySequence<T> que se leyó.Gets the ReadOnlySequence<T> that was read.

IsCanceled IsCanceled IsCanceled IsCanceled

true si se canceló la operación ReadAsync(CancellationToken) actual; de lo contrario, false.true if the current ReadAsync(CancellationToken) operation was canceled; otherwise, false.

IsCompleted IsCompleted IsCompleted IsCompleted

true si PipeReader está completo; de lo contrario, false.true if the PipeReader is complete; otherwise, false.

Se aplica a