public static ActionTypeDS GetActionTypes(long issueID) { //Action types for an issue (state driven) ActionTypeDS actionTypes = null; try { _Client = new IssueMgtServiceClient(); actionTypes = _Client.GetIssueActionTypes(issueID); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("GetActionTypes() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetActionTypes() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetActionTypes() communication error.", ce); } return(actionTypes); }