Inheritance: System.EventArgs
Beispiel #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";
     }
 }
 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());
     }
 }
Beispiel #3
0
 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());
 }
 void SocketError(object sender, SocketIOClient.ErrorEventArgs e)
 {
     Console.WriteLine("socket client error:");
     Console.WriteLine(e.Message);
 }
Beispiel #6
0
 private void SocketClientError(object sender, ErrorEventArgs e)
 {
     Mediator.Instance.NotifyColleagues("Exception", new Exception("SocketError: " + e.Message));
 }
        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);
        }
Beispiel #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));
		}
Beispiel #9
0
 static void socket_Error(object sender, ErrorEventArgs e)
 {
     Debug.WriteLine("socket error: " + e.Message);
 }
Beispiel #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;
        }
Beispiel #11
0
 static void socket_Error(object sender, SocketIOClient.ErrorEventArgs e)
 {
     System.Diagnostics.Trace.WriteLine("<<<< ERROR >>>> {0}", e.ToString());
 }
Beispiel #12
0
 static void SocketError(object sender, ErrorEventArgs e)
 {
     Console.ForegroundColor = ConsoleColor.Red;
     Console.WriteLine("Socket error: " + e.Message);
     Console.ResetColor();
 }
Beispiel #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);
 }
Beispiel #15
0
 void _client_Error(object sender, ErrorEventArgs e)
 {
     throw new NotImplementedException();
 }
 void SocketError(object sender, ErrorEventArgs e)
 {
     Console.WriteLine("socket client error:");
     Console.WriteLine(e.Message);
 }
Beispiel #17
0
 private async void _webSocket_Error(object sender, SocketIOClient.ErrorEventArgs e)
 {
     await Reconnect();
 }
Beispiel #18
0
 private static void SocketError(object sender, ErrorEventArgs e)
 {
     Console.WriteLine(e.Message+"   "+ e.Exception.ToString());
 }
Beispiel #19
0
 void SocketError(object sender, ErrorEventArgs e)
 {
     Console.WriteLine("SocketError");
 }