ReadResult ReadResult ReadResult ReadResult Struct

定義

ReadAsync(CancellationToken) 呼び出しの結果。The result of a ReadAsync(CancellationToken) call.

public value class ReadResult
public struct ReadResult
type ReadResult = struct
Public Structure ReadResult
継承
ReadResultReadResultReadResultReadResult

コンストラクター

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

IsCanceled および IsCompleted フラグを設定して ReadResult の新しいインスタンスを作成します。Creates a new instance of ReadResult setting IsCanceled and IsCompleted flags.

プロパティ

Buffer Buffer Buffer Buffer

読み取られた ReadOnlySequence<T> を取得します。Gets the ReadOnlySequence<T> that was read.

IsCanceled IsCanceled IsCanceled IsCanceled

現在の ReadAsync(CancellationToken) 操作がキャンセルされた場合は true。それ以外の場合は falsetrue if the current ReadAsync(CancellationToken) operation was canceled; otherwise, false.

IsCompleted IsCompleted IsCompleted IsCompleted

PipeReader が終了した場合は true。それ以外の場合は falsetrue if the PipeReader is complete; otherwise, false.

適用対象