Esempio n. 1
0
        public static bool UpdateIssue(Issue issue)
        {
            //Update an existing issue
            bool b = false;

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