Export (0) Print
Expand All

IRecordSequence.AdvanceBaseSequenceNumber Method

Moves the base sequence number of the log forward.

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

void AdvanceBaseSequenceNumber(
	SequenceNumber newBaseSequenceNumber


Type: System.IO.Log.SequenceNumber

The new base sequence number of the record sequence.


newBaseSequenceNumber is invalid.


newBaseSequenceNumber is not active in the log.


An I/O error occurred while modifying the sequence.


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


The record sequence is full.

When you use a LogRecordSequence instance and try to advance the sequence number to free up space in the log, the new base sequence number must reside in a different log extent for the previous extent to be marked as empty. Freeing extents partially is not supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft