LogRecordSequence.Flush Method (SequenceNumber)
Ensures that all appended records up to and including the record with the specified sequence number have been durably written. This method cannot be inherited.
Assembly: System.IO.Log (in System.IO.Log.dll)
Return ValueType: System.IO.Log.SequenceNumber
The sequence number of the last record written.
sequenceNumber is not valid for this sequence.
sequenceNumber is not between the base and last sequence numbers of this sequence.
The request could not be performed because of an unexpected I/O exception.
The specified log does not have any extents. One or more extents must be created before a record sequence can be used.
The operation cannot be performed because the record sequence was opened with read-only access.
The method was called after the sequence has been disposed of.
There is not enough memory to continue the execution of the program.
The record sequence is full.
Access for the specified log sequence is denied by the operating system.
Calling this method ensures that all records with sequence numbers up to and including the specified sequence number have been durably written.
Available since 3.0