Example #1
0
        public ServiceExceptionReport(XElement node, string ns) : this()
        {
            var att = node.Attribute(XName.Get("version"));

            if (att != null)
            {
                Version = att.Value;
            }

            foreach (var serviceException in node.Elements(XName.Get("ServiceException", ns)))
            {
                ServiceExceptions.Add(new ServiceException(serviceException, ns));
            }
        }