Skip to content

IAdmExecutionLogEntryCollection

The IAdmExecutionLogEntryCollection interface represents a collection of log entries in the Execution Log.

Inheritance: The IAdmExecutionLogEntryCollection interface inherits from the IEnumerable interface.

Methods

  • Method

  • Description

  • Add()

  • Adds a new entry to the collection.

  • Clear()

  • Removes all entries from the collection.

  • CopyTo()

  • Copies all entries from the current collection to another collection of Execution Log entries.

  • GetEntryCount()

  • Returns the number of entries of a given type in the collection.

  • GetEnumerator()

  • Retrieves an enumerator object for this collection of Execution Log entries.

  • IndexOf()

  • Searches for the specified entry and returns a zero-based index of the first occurrence of the entry in the collection.

  • Remove()

  • Removes the specified entry from the collection.

  • Deserialize()

  • Deserializes the XML document contained by the specified stream to the Execution Log object.

  • Serialize()

  • Serializes an Execution Log object into an XML document.

Properties

  • Property

  • Description

  • Count

  • Gets the number of entries in the collection.

  • HasSuspendedOperations

  • Gets a value indicating whether the collection contains at least one suspended operation.

  • FirstErrorEntry

  • Gets the Execution Log entry for the first error that occurred in the process of execution of the operation.

  • Entry

  • Gets an Execution Log entry in the collection at the given zero-based index.

Details

Add()

Adds a new entry to the collection.

void Add(IAdmExecutionLogEntry entryToAdd)

Clear()

Removes all entries from the collection.

void Clear()

CopyTo()

Copies all entries from the current collection to another collection of Execution Log entries.

void CopyTo(IAdmExecutionLogEntryCollection target)

GetEntryCount()

Returns the number of entries of a given type in the collection.

Int32 GetEntryCount(MessageType entryType)

Parameters

The entryType parameter specifies the type of Execution Log entries to count.


GetEnumerator()

Retrieves an enumerator object for this collection of Execution Log entries. The enumerator object implements the IEnumerator interface that can be used to enumerate Execution Log entries in foreach loops.

IEnumerator GetEnumerator()

IndexOf()

Searches for the specified entry and returns a zero-based index of the first occurrence of the entry in the collection.

Int32 IndexOf(IAdmExecutionLogEntry entry)

Remove()

Removes the specified entry from the collection.

void Remove(IAdmExecutionLogEntry entryToRemove)

Deserialize()

Deserializes the XML document contained by the specified stream to the Execution Log object.

void Deserialize(Stream stream)

Serialize()

Serializes an Execution Log object into an XML document.

void Serialize(Stream stream)

Parameters

The stream parameter specifies a Stream used to write the XML document.


Count

Gets the number of entries in the collection.

  • Type:
  • Int32
  • Access:
  • Read-only

HasSuspendedOperations

Gets a value indicating whether the collection contains at least one suspended operation.

  • Type:
  • Boolean
  • Access:
  • Read-only

FirstErrorEntry

Gets the Execution Log entry for the first error that occurred in the process of execution of the operation.


Entry

Gets an Execution Log entry in the collection at the given zero-based index.


Requirements

Minimum required version: 2009.1

See also