コード例 #1
0
 public static void LoadScanAudit(DateTime routeDate, string routeClass)
 {
     //Load scan audit data
     try {
         _Client = new RoadshowServiceClient();
         _Client.LoadScanAudit(routeDate, routeClass);
         _Client.Close();
     }
     catch (FaultException fe) { throw new ApplicationException("LoadScanAudit() service error.", fe); }
     catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("LoadScanAudit() timeout error.", te); }
     catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("LoadScanAudit() communication error.", ce); }
 }