public void EnterRoom(User user, Room room) { try { if (IsConnectionOk()) { ClientInstance.EnterRoom(user, room); } } catch (Exception ex) { HandleException(); } }