EventLogEntryCollection
Defines size and enumerators for a collection of EventLogEntry instances.
using System.Collections;
using System.Reflection;
namespace System.Diagnostics
{
[DefaultMember("Item")]
public class EventLogEntryCollection : ICollection, IEnumerable
{
public int Count {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
public virtual EventLogEntry this[int index] {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
bool IsSynchronized {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
object SyncRoot {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
internal EventLogEntryCollection()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
public void CopyTo(EventLogEntry[] entries, int index)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
public IEnumerator GetEnumerator()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
void CopyTo(Array array, int index)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
}