# System.Net.NetworkInformation

``` diff
 namespace System.Net.NetworkInformation {
     public class NetworkInformationException : Win32Exception {
-        protected NetworkInformationException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(EditorBrowsableState.Never)]
+        [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 NetworkInformationException(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class PingException : InvalidOperationException {
-        protected PingException(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(EditorBrowsableState.Never)]
+        [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 PingException(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
 }
```

