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