18 references to UnsafeNativeMethods
System.ServiceModel.UnixDomainSocket (18)
System\ServiceModel\Channels\SocketConnection.cs (18)
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)
792
if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.ERROR_INVALID_HANDLE)
797
if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAEADDRNOTAVAIL ||
798
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAECONNREFUSED ||
799
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAENETDOWN ||
800
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAENETUNREACH ||
801
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAEHOSTDOWN ||
802
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAEHOSTUNREACH ||
803
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAETIMEDOUT)
814
else if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAENOBUFS)
818
else if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.ERROR_NOT_ENOUGH_MEMORY ||
819
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.ERROR_NO_SYSTEM_RESOURCES ||
820
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.ERROR_OUTOFMEMORY)