net10.0
namespace System.Diagnostics.Eventing.Reader
{
    public class EventLogReadingException : EventLogException
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
        protected EventLogReadingException(SerializationInfo serializationInfo, StreamingContext streamingContext);
    }
}
.NET
5.06.07.08.09.010.0
.NET Core
3.03.1
.NET Framework
3.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

System.Diagnostics.EventLog , Version=10.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

  • Your project needs a package reference to System.Diagnostics.EventLog.

Obsolete SYSLIB0051: This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Platform Restrictions

This API is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API