<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.5" />

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.
/* Error decompiling System.Void System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException::.ctor(System.String,System.Exception) */