ILogViewRead<TView,TLogEntry>.RetrieveLogSegment(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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