private void PipeServicOnConnectTo(object sender, RoutedEventArgs e) { try { serviceConnection.SendCustomTestMessage("Notify " + DateTime.Now + " UTC" + DateTime.UtcNow); } catch (Exception error) { MessageBox.Show(error.Message); } }