System.Net.Sockets.MultipleConnectAsync.SyncFail C# (CSharp) Method

SyncFail() private method

private SyncFail ( Exception e ) : void
e System.Exception
return void
        private void SyncFail(Exception e)
        {
            OnFailOuter(false);

            if (_internalArgs != null)
            {
                _internalArgs.Dispose();
            }

            SocketException socketException = e as SocketException;
            if (socketException != null)
            {
                _userArgs.FinishConnectByNameSyncFailure(socketException, 0, SocketFlags.None);
            }
            else
            {
                throw e;
            }
        }