Edit

Share via


LogExtentCollection.GetEnumerator Method

Definition

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

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)

Returns

An enumerator for the LogExtent instances in this collection.

Implements

Exceptions

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.

The record sequence is full.

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

Applies to