gov.va.medora.mdws.BaseService.getFacadeVersion C# (CSharp) Method

getFacadeVersion() private method

private getFacadeVersion ( ) : TextTO
return gov.va.medora.mdws.dto.TextTO
        public TextTO getFacadeVersion()
        {
            TextTO result = new TextTO();
            try
            {
                System.Reflection.FieldInfo fi = this.GetType().GetField("VERSION");
                result.text = ((string)fi.GetValue(this));
            }
            catch (Exception)
            {
                result.fault = new FaultTO("This facade does not contain any version information");
            }
            return result;
        }