private void ConnectionAttemptFailed(object sender, ConnectionAttemptFailedEventArgs ev) { Console.WriteLine("ConsoleHarness: ConnectionAttemptFailed:"); Console.WriteLine("+ remote end point: {0}", ev.SslEndPoint); Console.WriteLine("+ exception:\n{0}", ev.Exception); Console.WriteLine( ); }
private void HandleConnectionAttemptFailed(object sender, ConnectionAttemptFailedEventArgs ev) { Debug.Print("ServerWrapper.HandleConnectionAttemptFailed"); Debug.Print("+ remote end point: {0}", ev.SslEndPoint); Debug.Print("+ exception:\n{0}", ev.Exception); }