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

EventLogEntry

public sealed class EventLogEntry : Component, ISerializable
using System.ComponentModel; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Diagnostics { [DesignTimeVisible(false)] [ToolboxItem(false)] public sealed class EventLogEntry : Component, ISerializable { public string Category { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public short CategoryNumber { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public byte[] Data { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public EventLogEntryType EntryType { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } [Obsolete("This property has been deprecated. Please use System.Diagnostics.EventLogEntry.InstanceId instead. http://go.microsoft.com/fwlink/?linkid=14202")] public int EventID { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public int Index { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } [ComVisible(false)] public long InstanceId { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string MachineName { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string Message { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string[] ReplacementStrings { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string Source { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public DateTime TimeGenerated { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public DateTime TimeWritten { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public string UserName { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } internal EventLogEntry() { } public bool Equals(EventLogEntry otherEntry) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }