Bewerken

Delen via


ILogViewRead<TView,TLogEntry>.RetrieveLogSegment(Int32, Int32) Method

Definition

Attempt to retrieve a segment of the log, possibly from storage. Throws NotSupportedException if the log cannot be read, which depends on the providers used and how they are configured.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<TLogEntry>> RetrieveLogSegment (int fromVersion, int toVersion);
abstract member RetrieveLogSegment : int * int -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<'LogEntry>>
Public Function RetrieveLogSegment (fromVersion As Integer, toVersion As Integer) As Task(Of IReadOnlyList(Of TLogEntry))

Parameters

fromVersion
Int32

the start position

toVersion
Int32

the end position

Returns

Task<IReadOnlyList<TLogEntry>>

a

Applies to