IRecordSequence.LastSequenceNumber Property

 

When overridden in a derived class, gets the sequence number which is greater than the last record appended.

Namespace:   System.IO.Log
Assembly:  System.IO.Log (in System.IO.Log.dll)

SequenceNumber LastSequenceNumber { get; }

Property Value

Type: System.IO.Log.SequenceNumber

A sequence number which is greater than the last record appended.

Exception Condition
ObjectDisposedException

The property was accessed after the sequence has been disposed of.

This property contains a sequence number that is guaranteed to be larger than the sequence number of the last appended record. Valid sequence numbers are greater than or equal to BaseSequenceNumber and less than LastSequenceNumber.

System_CAPS_noteNote

When using a LogRecordSequence instance, the LastSequenceNumber value can become out of date until records are flushed to the log. See Flush and RecordAppendOptions for more information on flushing records..

.NET Framework
Available since 3.0
Return to top
Show: