FileRecordSequence.ReadRestartAreas 方法

定義

傳回序列中重新啟動區域的可列舉集合。 這個方法無法被繼承。

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)

傳回

順序中的重新啟動區域的可列舉集合。

實作

例外狀況

記錄順序是以唯寫存取所開啟,無法執行作業。

記錄順序已損毀。

-或-

記錄是以不相容的記錄順序版本所寫入。

列舉已經結束。

-或-

列舉尚未啟動。 必須呼叫 MoveNext()

已在處置序列之後呼叫此方法。

沒有足夠的記憶體可以繼續執行程式。

備註

列舉重新啟動區域的方式是依照序號的相反順序列舉,也就是由最大序號到最小序號。 只會列舉含有介於最後一個序號和基底序號之間序號的重新啟動區域。

適用於