<PackageReference Include="System.Diagnostics.EventLog" Version="4.5.0-preview1-25914-04" />

EventInstance

public class EventInstance
namespace System.Diagnostics { public class EventInstance { public int CategoryId { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public EventLogEntryType EntryType { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public long InstanceId { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public EventInstance(long instanceId, int categoryId) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }