Skip to content

ILogViewRead<TView, TLogEntry>.RetrieveLogSegment(int, int)

RetrieveLogSegment(int, int)

abstract
public abstract Task<IReadOnlyList<TLogEntry>> ILogViewRead<TView, RetrieveLogSegment(int fromVersion, int toVersion)
Attempt to retrieve a segment of the log, possibly from storage. Throws System.NotSupportedException if the log cannot be read, which depends on the providers used and how they are configured.

Parameters

fromVersionint
the start position
toVersionint
the end position

Returns

a