Griffin.Net.Channels.TcpChannel.CreateException C# (CSharp) Méthode

CreateException() private méthode

private CreateException ( SocketError socketError ) : Exception
socketError SocketError
Résultat System.Exception
        private Exception CreateException(SocketError socketError)
        {
            try
            {
                throw new SocketException((int)socketError);
            }
            catch (Exception ex)
            {
                return ex;
            }
        }