상속: System.EventArgs
예제 #1
0
 private void SocketError(object sender, SocketIOClient.ErrorEventArgs e)
 {
     if (e != null)
     {
         string msg = e.Message;
         uiMessage += System.DateTime.Now.ToString("HH:mm : ") + "Error: " + msg + "\n";
     }
 }
예제 #2
0
 private void SocketError(object sender, SocketIOClient.ErrorEventArgs e)
 {
     //invoke when a socket Error occur
     if (e != null)
     {
         Debug.LogError("Socket Error : " + e.Message + " / " + e.Exception.ToString());
     }
 }
예제 #3
0
파일: ElmDriver.cs 프로젝트: panyu/Elm327
 void client_Error(object sender, ErrorEventArgs e)
 {
     Debug.WriteLine("websocket error", e.Message);
 }
 static void socket_Error(object sender, ErrorEventArgs e)
 {
     myForm.ConsoleWriteLine(e.Message.ToString());
 }
예제 #5
0
 void SocketError(object sender, SocketIOClient.ErrorEventArgs e)
 {
     Console.WriteLine("socket client error:");
     Console.WriteLine(e.Message);
 }
예제 #6
0
 private void SocketClientError(object sender, ErrorEventArgs e)
 {
     Mediator.Instance.NotifyColleagues("Exception", new Exception("SocketError: " + e.Message));
 }
예제 #7
0
        protected void socket_Error(object sender, ErrorEventArgs e)
        {
            if (log.IsDebugEnabled) { log.Error("socket_Error.eMessage." + e.Message, e.Exception); }

            Console.WriteLine("\r\nSocketIoProxy connection error: ");
            Console.WriteLine(e.Message);
        }
예제 #8
0
		protected void OnErrorEvent(object sender, ErrorEventArgs e)
		{
			this.LastErrorMessage = e.Message;
			if (this.Error != null)
			{
				try { this.Error.Invoke(this, e); }
				catch { }
			}
			Trace.WriteLine(string.Format("Error Event: {0}\r\n\t{1}", e.Message, e.Exception));
		}
예제 #9
0
파일: Program.cs 프로젝트: panyu/Elm327
 static void socket_Error(object sender, ErrorEventArgs e)
 {
     Debug.WriteLine("socket error: " + e.Message);
 }
예제 #10
0
        static void socket_Error(object sender, ErrorEventArgs e)
        {
            if (log.IsDebugEnabled) { log.Error("SendEvent.SocketError.eMessage" + e.Message, e.Exception); }

            //string s = e.Message;
            //Exception ex = e.Exception;
        }
예제 #11
0
 static void socket_Error(object sender, SocketIOClient.ErrorEventArgs e)
 {
     System.Diagnostics.Trace.WriteLine("<<<< ERROR >>>> {0}", e.ToString());
 }
예제 #12
0
 static void SocketError(object sender, ErrorEventArgs e)
 {
     Console.ForegroundColor = ConsoleColor.Red;
     Console.WriteLine("Socket error: " + e.Message);
     Console.ResetColor();
 }
예제 #13
0
 static void SocketError(object sender, ErrorEventArgs e)
 {
     LogHelper.WriteLine("socket client error:");
     LogHelper.WriteLine(e.Message);
 }
 void socketIO_Error(object sender, ErrorEventArgs e)
 {
     if (socketIO != null && socketIO.IsConnected)
     {
         socketIO.Close();
         this.Close();
     }
     socketIO = null;
     string errorMsg = null;
     if (e != null)
     {
         errorMsg = e.Exception.ToString();
     }
     if (connTimeoutTimer != null)
     {
         connTimeoutTimer.Cancel();
         connTimeoutTimer = null;
     }
     Debug.WriteLine("[SOCKET_IO]: socketIO Error ");
     updateStatus(ConnectionStatus.DISCONNECTED, ConnectionErrors.TECH_ERROR, errorMsg);
 }
예제 #15
0
 void _client_Error(object sender, ErrorEventArgs e)
 {
     throw new NotImplementedException();
 }
예제 #16
0
 void SocketError(object sender, ErrorEventArgs e)
 {
     Console.WriteLine("socket client error:");
     Console.WriteLine(e.Message);
 }
예제 #17
0
 private async void _webSocket_Error(object sender, SocketIOClient.ErrorEventArgs e)
 {
     await Reconnect();
 }
예제 #18
0
 private static void SocketError(object sender, ErrorEventArgs e)
 {
     Console.WriteLine(e.Message+"   "+ e.Exception.ToString());
 }
예제 #19
0
 void SocketError(object sender, ErrorEventArgs e)
 {
     Console.WriteLine("SocketError");
 }