FileRecordSequence.AdvanceBaseSequenceNumber(SequenceNumber) Method

Definition

Moves the base sequence number of the log forward. This method cannot be inherited.

public:
 virtual void AdvanceBaseSequenceNumber(System::IO::Log::SequenceNumber newBaseSequenceNumber);
public void AdvanceBaseSequenceNumber (System.IO.Log.SequenceNumber newBaseSequenceNumber);
abstract member AdvanceBaseSequenceNumber : System.IO.Log.SequenceNumber -> unit
override this.AdvanceBaseSequenceNumber : System.IO.Log.SequenceNumber -> unit
Public Sub AdvanceBaseSequenceNumber (newBaseSequenceNumber As SequenceNumber)

Parameters

newBaseSequenceNumber
SequenceNumber

The new base sequence number of the record sequence.

Implements

Exceptions

newBaseSequenceNumber is invalid.

newBaseSequenceNumber is not between the base and last sequence numbers of this sequence.

An I/O error occurred while modifying the sequence.

The method was called after the sequence has been disposed of.

There is not enough memory to continue the execution of the program.

Applies to