<PackageReference Include="System.Diagnostics.EventLog" Version="7.0.0-preview.6.22324.4" />

EventLogNotFoundException

using System.Runtime.Serialization; namespace System.Diagnostics.Eventing.Reader { public class EventLogNotFoundException : EventLogException { public EventLogNotFoundException() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } protected EventLogNotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } public EventLogNotFoundException(string message) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } public EventLogNotFoundException(string message, Exception innerException) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }