35 references to OperationAborted
ClientSample (2)
Tcp\TcpConnection.cs (2)
120catch (SocketException ex) when (ex.SocketErrorCode == SocketError.OperationAborted || 191catch (SocketException ex) when (ex.SocketErrorCode == SocketError.OperationAborted)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Internal\SocketConnection.cs (1)
430return errorCode == SocketError.OperationAborted ||
SocketConnectionListener.cs (1)
82catch (SocketException e) when (e.SocketErrorCode == SocketError.OperationAborted)
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (1)
206catch (SocketException se) when (se.SocketErrorCode == SocketError.OperationAborted)
System.Net.Ping (3)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (3)
42{ Interop.Error.EBADF, SocketError.OperationAborted }, 43{ Interop.Error.ECANCELED, SocketError.OperationAborted }, 115{ SocketError.OperationAborted, Interop.Error.ECANCELED },
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (3)
42{ Interop.Error.EBADF, SocketError.OperationAborted }, 43{ Interop.Error.ECANCELED, SocketError.OperationAborted }, 115{ SocketError.OperationAborted, Interop.Error.ECANCELED },
System.Net.Sockets (24)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (3)
42{ Interop.Error.EBADF, SocketError.OperationAborted }, 43{ Interop.Error.ECANCELED, SocketError.OperationAborted }, 115{ SocketError.OperationAborted, Interop.Error.ECANCELED },
System\Net\Sockets\Socket.cs (4)
3933errorCode != SocketError.TimedOut && errorCode != SocketError.OperationAborted))) 4064return SocketError.OperationAborted; 4071ObjectDisposedException => SocketError.OperationAborted, 4072OperationCanceledException => SocketError.OperationAborted,
System\Net\Sockets\Socket.Tasks.cs (2)
121catch (SocketException se) when (se.SocketErrorCode == SocketError.OperationAborted) 1381if (error is SocketError.OperationAborted or SocketError.ConnectionAborted)
System\Net\Sockets\SocketAsyncContext.Unix.cs (2)
248ErrorCode = SocketError.OperationAborted; 314ErrorCode = SocketError.OperationAborted;
System\Net\Sockets\SocketAsyncEventArgs.cs (4)
460_socketError = SocketError.OperationAborted; 792throw new SocketException((int)SocketError.OperationAborted); 804caughtException = new SocketException((int)SocketError.OperationAborted); 827(caughtException is SocketException se && se.SocketErrorCode == SocketError.OperationAborted))
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
395socketError = SocketError.OperationAborted;
System\Net\Sockets\SocketPal.Unix.cs (8)
641errorCode = SocketError.OperationAborted; 741errorCode = SocketError.OperationAborted; 827errorCode = SocketError.OperationAborted; 898errorCode = SocketError.OperationAborted; 944errorCode = SocketError.OperationAborted; 995errorCode = SocketError.OperationAborted; 1050errorCode = SocketError.OperationAborted; 2148exc is OperationCanceledException ? SocketError.OperationAborted :