Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​IO.​Pipelines.​ReadResult

Assembly: System.IO.Pipelines

Represents the result of a <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.

Properties

public Buffers.​ReadOnlySequence<​byte>
Buffer
Gets the <see cref="T:System.Buffers.ReadOnlySequence`1" /> that was read.
public bool
IsCanceled
Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" /> .
public bool
IsCompleted
Gets a value that indicates whether the end of the data stream has been reached.

Methods

public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object