Пример #1
0
        private void m_dataChannel_ClientConnectingException(object sender, EventArgs <Exception> e)
        {
            Exception ex = e.Argument;

            m_parent.OnProcessException(MessageLevel.Info, new ConnectionException($"Data channel client connection exception occurred while sending client data to \"{m_connectionID}\": {ex.Message}", ex));
        }
Пример #2
0
        private void m_dataChannel_ClientConnectingException(object sender, EventArgs <Exception> e)
        {
            Exception ex = e.Argument;

            m_parent.OnProcessException(new InvalidOperationException(string.Format("Data channel exception occurred while sending client data to \"{0}\": {1}", m_connectionID, ex.Message), ex));
        }