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