예제 #1
0
        private void OnError(object sender, Matrix.ExceptionEventArgs e)
        {
            var msg = e != null ? (e.Exception != null ? e.Exception.Message : "") : "";

            Console.WriteLine("OnError: " + msg);

            if (!_onLogin)
            {
                StartConnectTimer();
            }
        }
예제 #2
0
 private static void OnXmlError(object sender, Matrix.ExceptionEventArgs e)
 {
     Console.WriteLine("OnXmlError");
     Console.WriteLine(e.Exception.Message);
     Console.WriteLine(e.Exception.StackTrace);
 }
예제 #3
0
 private static void OnXmlError(object sender, Matrix.ExceptionEventArgs e)
 {
     LogHelper.WriteConsole("OnXmlError");
     LogHelper.WriteConsole(e.Exception.Message);
     LogHelper.WriteConsole(e.Exception.StackTrace);
 }