<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.0-preview.2.24128.5" />

EventLogLink

public sealed class EventLogLink
Represents a link between an event provider and an event log that the provider publishes events into. This object cannot be instantiated.
namespace System.Diagnostics.Eventing.Reader { public sealed class EventLogLink { public string DisplayName { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public bool IsImported { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string LogName { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } internal EventLogLink() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }