public static string GetActionType(int typeID) { //Get an action type for the specified id string actionType = ""; try { _Client = new IssueMgtServiceClient(); actionType = _Client.GetActionType(typeID); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("GetActionType() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetActionType() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetActionType() communication error.", ce); } return(actionType); }