21 references to SocketError
System (15)
net\System\Net\Sockets\_MultipleConnectAsync.cs (4)
160
if (args.
SocketError
== SocketError.Success)
166
else if (args.
SocketError
== SocketError.OperationAborted)
178
SocketError currentFailure = args.
SocketError
;
236
return new SocketException(internalArgs.
SocketError
);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (11)
662
if (m_WriteEventArgs.
SocketError
!= SocketError.Success)
664
throw new SocketException(m_WriteEventArgs.
SocketError
);
714
if (m_WriteEventArgs.
SocketError
!= SocketError.Success)
716
throw new SocketException(m_WriteEventArgs.
SocketError
);
784
if (m_ReadEventArgs.
SocketError
!= SocketError.Success)
788
throw new SocketException(m_ReadEventArgs.
SocketError
);
886
eventArgs.
SocketError
);
906
if (eventArgs.
SocketError
!= SocketError.Success)
908
thisPtr.m_WriteTaskCompletionSource.TrySetException(new SocketException(eventArgs.
SocketError
));
937
if (eventArgs.
SocketError
!= SocketError.Success)
941
thisPtr.m_ReadTaskCompletionSource.TrySetException(new SocketException(eventArgs.
SocketError
));
System.ServiceModel (6)
System\ServiceModel\Channels\SocketConnection.cs (6)
968
if (this.asyncWriteEventArgs.
SocketError
== SocketError.Success)
973
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SocketException((int)this.asyncWriteEventArgs.
SocketError
));
1332
if (this.asyncReadEventArgs.
SocketError
== SocketError.Success)
1337
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SocketException((int)this.asyncReadEventArgs.
SocketError
));
2367
if (this.socketAsyncEventArgs.
SocketError
== SocketError.Success)
2374
completionException = new SocketException((int)this.socketAsyncEventArgs.
SocketError
);