ReadResult Estructura

Definición

Representa el resultado de una llamada a ReadAsync(CancellationToken).Represents the result of a ReadAsync(CancellationToken) call.

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

Constructores

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

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

IsCanceled

Obtiene un valor que indica si la operación ReadAsync(CancellationToken) actual se ha cancelado.Gets a value that indicates whether the current ReadAsync(CancellationToken) operation was canceled.

IsCompleted

Obtiene un valor que indica si se ha llegado al final del flujo de datos.Gets a value that indicates whether the end of the data stream has been reached.

Se aplica a