gov.va.medora.mdws.LabsLib.getTestDescription C# (CSharp) Method

getTestDescription() public method

public getTestDescription ( string identifierString ) : TaggedTextArray
identifierString string
return gov.va.medora.mdws.dto.TaggedTextArray
        public TaggedTextArray getTestDescription(string identifierString)
        {
            TaggedTextArray result = new TaggedTextArray();

            if (MdwsUtils.isAuthorizedConnection(mySession) != "OK")
            {
                result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
            }

            if (result.fault != null)
            {
                return result;
            }

            try
            {
                LabsApi api = new LabsApi();
                return new TaggedTextArray(api.getTestDescription(mySession.ConnectionSet, identifierString));
            }
            catch (Exception exc)
            {
                result.fault = new FaultTO(exc);
            }
            return result;
        }