private void Rdp_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { //0 //An unknown error has occurred. //1 //Internal error code 1. //2 //An out-of - memory error has occurred. //3 //A window-creation error has occurred. //4 //Internal error code 2. //5 //Internal error code 3.This is not a valid state. //6 //Internal error code 4. //7 //An unrecoverable error has occurred during client connection. //100 //Winsock initialization error. var rdp = (AxMSTSCLib.AxMsRdpClient9NotSafeForScripting)sender; rdp.DisconnectedText = "连接已断开,错误码: " + e.errorCode.ToString(); }
private void m_rdpview_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { Console.WriteLine("m_rdpview_OnLogonError"); Application.Exit(); }
/// <summary> /// Event-Methode: /// Wenn ein Fehler aufgetreten ist /// </summary> private void rdp_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { LOG.StoreErrorRdpLogMessage("Rdp-ActiveX-Control: An FatalError has been appeared - Error-Code: " + e.errorCode.ToString()); DEBUG.ShowMessageInConsole("Rdp-ActiveX-Control: An FatalError has been appeared - Error-Code: " + e.errorCode.ToString(), DEBUG.DebugMessageType.Error); }
private void m_rdpview_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { File.AppendAllText(@"d:\1.log", "m_rdpview_OnFatalError"); }
private void RdpConnection_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { Console.WriteLine("RdpConnection_OnFatalError: " + e.errorCode); Connecting = false; }
//************************************************************************************************************* private void rdpControl_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { loadingCircle1.Active = false; loadingCircle1.Visible = false; }
private void RDCClient_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { MessageBox.Show(this, "Fatal error", "Error"); }
void axMsRdpClient71_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { throw new NotImplementedException(); }
private void axMsRdpClient9NotSafeForScripting1_OnFatalError(object sender, AxMSTSCLib.IMsTscAxEvents_OnFatalErrorEvent e) { MessageBox.Show(e.errorCode.ToString()); }