Example #1
0
        public static bool UpdateScanAudits(ScanAudits scans)
        {
            //
            bool ret = false;

            try {
                _Client = new RoadshowServiceClient();
                ret     = _Client.UpdateScanAudits(scans);
                _Client.Close();
            }
            catch (FaultException fe) { throw new ApplicationException("UpdateScanAudits() service error.", fe); }
            catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("UpdateScanAudits() timeout error.", te); }
            catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("UpdateScanAudits() communication error.", ce); }
            return(ret);
        }