25 references to SocketException
System (8)
net\System\Net\Sockets\Socket.cs (8)
3387
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
3925
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
4136
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
4719
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
4979
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
5521
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
5599
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
7310
SocketException socketException = new
SocketException
(castedAsyncResult.ErrorCode);
System.Net (9)
net\UdpAnySourceMulticastClient.cs (5)
19
public IAsyncResult BeginJoinGroup(AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
24
public IAsyncResult BeginReceiveFromGroup(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
29
public IAsyncResult BeginSendTo(byte[] buffer, int offset, int count, IPEndPoint remoteEndPoint, AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
34
public IAsyncResult BeginSendToGroup(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
54
public int EndReceiveFromGroup(IAsyncResult result, out IPEndPoint source) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
net\UdpSingleSourceMulticastClient.cs (4)
19
public IAsyncResult BeginJoinGroup(AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
24
public IAsyncResult BeginReceiveFromSource(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
29
public IAsyncResult BeginSendToSource(byte[] buffer, int offset, int count, int remotePort, AsyncCallback callback, object state) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
44
public int EndReceiveFromSource(IAsyncResult result, out int sourcePort) { throw new
SocketException
((int)(SocketError.AccessDenied)); }
System.ServiceModel (8)
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (1)
100
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SocketException
(error));
System\ServiceModel\Channels\PnrpPeerResolver.cs (4)
847
:
base
(errorCode)
1606
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SocketException
(ret));
1794
SocketException exception = new
SocketException
(WSAGetLastError());
1830
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SocketException
(error));
System\ServiceModel\Channels\SocketConnection.cs (3)
973
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SocketException
((int)this.asyncWriteEventArgs.SocketError));
1337
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SocketException
((int)this.asyncReadEventArgs.SocketError));
2374
completionException = new
SocketException
((int)this.socketAsyncEventArgs.SocketError);