void Recherche(List <CsCAMPAGNE> laCampagneSelect) { try { RecouvrementServiceClient client = new RecouvrementServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Recouvrement")); client.ControleCampagneCompleted += (ss, args) => { try { if (args.Cancelled || args.Error != null) { string error = args.Error.Message; Message.ShowError("Erreur à l'exécution du service", "SearchCampagne"); return; } if (args.Result == null || args.Result.Count == 0) { Message.ShowInformation("Aucune donnée trouvée", "SearchCampagne"); return; } detailcampagnes = args.Result; } catch (Exception ex) { Message.ShowError(ex, Galatee.Silverlight.Resources.Langue.errorTitle); } }; client.ControleCampagneAsync(laCampagneSelect); } catch (Exception ex) { throw ex; } }