<PackageReference Include="System.Diagnostics.EventLog" Version="4.6.0-preview9.19421.4" />

EventInstance

public class EventInstance
Represents language-neutral information for an event log entry.
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); } } }