public static bool CanLoadScanAudit(DateTime routeDate, string routeClass) { bool ret = false; try { _Client = new RoadshowServiceClient(); ret = _Client.CanLoadScanAudit(routeDate, routeClass); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("CanLoadScanAudit() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("CanLoadScanAudit() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("CanLoadScanAudit() communication error.", ce); } return(ret); }