# System.Net

``` diff
 namespace System.Net {
-    public enum NetworkError {
 {
-        ConnectionAborted = 6,

-        ConnectionRefused = 4,

-        ConnectionReset = 7,

-        EndPointInUse = 1,

-        HostNotFound = 2,

-        OperationAborted = 5,

-        Other = 0,

-        TimedOut = 3,

-    }
-    public class NetworkException : IOException {
 {
-        public NetworkException(NetworkError error, Exception innerException = null);

-        protected NetworkException(SerializationInfo serializationInfo, StreamingContext streamingContext);

-        public NetworkException(string message, NetworkError error, Exception innerException = null);

-        public NetworkError NetworkError { get; }

-    }
 }
```

