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