Exemple #1
0
        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);
            }
        }
Exemple #2
0
        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);
            }
        }