LogExtentCollection.GetEnumerator LogExtentCollection.GetEnumerator LogExtentCollection.GetEnumerator LogExtentCollection.GetEnumerator Method


Gets an enumerator for the LogExtent instances in this collection. This method cannot be inherited.

 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)


An enumerator for the LogExtent instances in this collection.



The request could not be performed because of an unexpected I/O exception.

The operation is invalid for one of the following reasons:

  • The enumeration has ended.

  • The collection has been modified.

  • 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.

Access for the specified log store is denied by the operating system.

Applies to