コード例 #1
0
        public static OnTimeIssues GetOnTimeIssues()
        {
            //
            OnTimeIssues issues = null;

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