예제 #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);
            }
        }
예제 #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);
            }
        }