Exemplo n.º 1
0
        internal static ExceptionInfo ReadFromXMLReader(XmlReader reader)
        {
            ExceptionInfo res = new ExceptionInfo();
            try
            {
                res.ReadXml(reader);
            }
            catch (XmlException)
            {
                return null;
            }

            return res;
        }
Exemplo n.º 2
0
        internal static ExceptionInfo ReadFromXMLReader(XmlReader reader)
        {
            ExceptionInfo res = new ExceptionInfo();

            try
            {
                res.ReadXml(reader);
            }
            catch (XmlException)
            {
                return(null);
            }

            return(res);
        }