FileRecordSequence.ReadRestartAreas Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an enumerable collection of the restart areas in the sequence. This method cannot be inherited.
public:
virtual System::Collections::Generic::IEnumerable<System::IO::Log::LogRecord ^> ^ ReadRestartAreas();
public System.Collections.Generic.IEnumerable<System.IO.Log.LogRecord> ReadRestartAreas();
abstract member ReadRestartAreas : unit -> seq<System.IO.Log.LogRecord>
override this.ReadRestartAreas : unit -> seq<System.IO.Log.LogRecord>
Public Function ReadRestartAreas () As IEnumerable(Of LogRecord)
An enumerable collection of the restart areas in the sequence.
The operation cannot be performed because the record sequence was opened with write-only access.
The record sequence is corrupted.
-or-
The record was written with an incompatible version of the record sequence.
The enumeration has ended.
-or-
The enumeration has not been started. A call to MoveNext() must be made.
The method was called after the sequence has been disposed of.
There is not enough memory to continue the execution of the program.
The restart areas are enumerated in reverse sequence number order, that is, from the highest sequence number to the lowest sequence number. Only restart areas with sequence numbers between the last sequence number and the base sequence number are enumerated.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: