public static Attachment[] GetIssueAttachments(long issueID) { //Get attachments for the specified issue Attachment[] attachments = null; try { _Client = new IssueMgtServiceClient(); attachments = _Client.GetIssueAttachments(issueID); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("GetIssueAttachments() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetIssueAttachments() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetIssueAttachments() communication error.", ce); } return(attachments); }