# System.Diagnostics.Eventing.Reader

``` diff
 namespace System.Diagnostics.Eventing.Reader {
     public class EventLogException : Exception {
-        protected EventLogException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("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 EventLogException(SerializationInfo serializationInfo, StreamingContext streamingContext);
-        public override void GetObjectData(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("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}")]
+        public override void GetObjectData(SerializationInfo info, StreamingContext context);
     }
     public class EventLogInvalidDataException : EventLogException {
-        protected EventLogInvalidDataException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("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 EventLogInvalidDataException(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class EventLogNotFoundException : EventLogException {
-        protected EventLogNotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("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 EventLogNotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class EventLogProviderDisabledException : EventLogException {
-        protected EventLogProviderDisabledException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("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 EventLogProviderDisabledException(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class EventLogReadingException : EventLogException {
-        protected EventLogReadingException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("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);
     }
 }
```

