EventLogReadingException
Represents an exception that is thrown when an error occurred while reading, querying, or subscribing to the events in an event log.
using System.Runtime.Serialization;
namespace System.Diagnostics.Eventing.Reader
{
public class EventLogReadingException : EventLogException
{
public EventLogReadingException()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
protected EventLogReadingException(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
public EventLogReadingException(string message)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
public EventLogReadingException(string message, Exception innerException)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
}