Base:
10 references to ErrorCode
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointManager.cs (1)
161throw new HttpListenerException(ex.ErrorCode, ex.Message);
System.Net.NameResolution (1)
System\Net\Dns.cs (1)
136NetEventSource.Error(hostNameOrAddress, $"{hostNameOrAddress} DNS lookup failed with {soex.ErrorCode}");
System.ServiceModel.UnixDomainSocket (8)
System\ServiceModel\Channels\SocketConnection.cs (8)
649if (socketException.ErrorCode == UnsafeNativeMethods.ERROR_INVALID_HANDLE) 660if (socketException.ErrorCode == UnsafeNativeMethods.WSAECONNABORTED && 667if (socketException.ErrorCode == UnsafeNativeMethods.WSAENETRESET || 668socketException.ErrorCode == UnsafeNativeMethods.WSAECONNABORTED || 669socketException.ErrorCode == UnsafeNativeMethods.WSAECONNRESET) 681else if (socketException.ErrorCode == UnsafeNativeMethods.WSAETIMEDOUT) 690return new CommunicationObjectAbortedException(SR.Format(SR.UDSTransferError, socketException.ErrorCode, socketException.Message), originalException); 694CommunicationException communicationException = new CommunicationException(SR.Format(SR.UDSTransferError, socketException.ErrorCode, socketException.Message), originalException);