private void GetAchievements(long djKey, object userState) { Achievement[] achievements = new Achievement[0]; Response response; try { response = _client.DJViewAchievements(out achievements, djKey); } catch { response = new Response(); response.error = true; response.message = "Error in the service connection."; } if (GetAchievementsComplete != null) GetAchievementsComplete(this, new AchievementArgs(response, achievements.ToList<Achievement>(), userState)); }