<PackageReference Include="System.Diagnostics.EventLog" Version="8.0.0-preview.1.23110.8" />

EventTask

public sealed class EventTask
namespace System.Diagnostics.Eventing.Reader { public sealed class EventTask { public string DisplayName { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public Guid EventGuid { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string Name { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public int Value { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } internal EventTask() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }