<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-preview.1.26104.118" />

System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException

Represents the exception that is thrown when a specified event provider name references a disabled event provider. A disabled event provider cannot publish events.
namespace System.Diagnostics.Eventing.Reader { public class EventLogProviderDisabledException : EventLogException { public EventLogProviderDisabledException(); protected EventLogProviderDisabledException(SerializationInfo serializationInfo, StreamingContext streamingContext); public EventLogProviderDisabledException(string message); public EventLogProviderDisabledException(string message, Exception innerException); } }