static void ReturnTicket() { using (var packageInstallationClient = new ServiceProxies.PackageInstallationService.ResultForTicketServiceClient(new BasicHttpBinding(), new EndpointAddress("http://localhost:8755/PackageInstallationService/ResultForTicket"))) { var ticketResult = new TicketResult() { TicketId = "assssd", IsSuccessful = true, OccuredException = new Exception("dddsssss"), }; packageInstallationClient.ReportResult(ticketResult); } }
static void ReturnTicket() { using (var packageInstallationClient = new ServiceProxies.PackageInstallationService.ResultForTicketServiceClient(new BasicHttpBinding(), new EndpointAddress("http://localhost:8755/PackageInstallationService/ResultForTicket"))) { var ticketResult = new TicketResult() { TicketId = "assssd", IsSuccessful = true, OccuredException = new Exception("dddsssss"), }; packageInstallationClient.ReportResult(ticketResult); } }