LogExtentCollection.GetEnumerator 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得這個集合中 LogExtent 實例的列舉值。 無法繼承這個方法。
public:
virtual System::Collections::Generic::IEnumerator<System::IO::Log::LogExtent ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<System.IO.Log.LogExtent> GetEnumerator();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.IO.Log.LogExtent>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.IO.Log.LogExtent>
Public Function GetEnumerator () As IEnumerator(Of LogExtent)
傳回
本集合中實例的列舉器 LogExtent 。
實作
例外狀況
由於意外的 I/O 異常,請求無法執行。
該方法是在序列被處理後才被呼叫的。
記憶體不足以繼續執行程式。
紀錄序列已滿。
作業系統會拒絕存取指定的日誌儲存。