LogRecordEnumeratorType 枚举

定义

指定从 LogRecordSequence 中读取记录的方式。Specifies the manner in which records should be read from a LogRecordSequence.

public enum class LogRecordEnumeratorType
public enum LogRecordEnumeratorType
type LogRecordEnumeratorType = 
Public Enum LogRecordEnumeratorType
继承
LogRecordEnumeratorType

字段

Next 2

记录应按照它们追加到序列中的顺序读取。Records should be read in the order in which they were appended to the sequence.

Previous 1

记录应按照日志记录的“前一个”序列号指定的顺序读取。Records should be read in the order specified by the Previous sequence number of the log record.

User 0

记录应按照日志记录的“用户”序列号指定的顺序读取。Records should be read in the order specified by the User sequence number of the log record.

注解

此枚举提供给 ReadLogRecords 方法,用于控制读取记录的顺序。This enumeration is provided to the ReadLogRecords method to control the order in which records should be read. 每个值对应日志记录中存储的元数据序列号之一。Each value corresponds to one of the metadata sequence numbers stored in a log record.

适用于