// Token: 0x0600079F RID: 1951 RVA: 0x0001C338 File Offset: 0x0001A538
        internal static ResponseContent GetResponseInformation(string responseXml)
        {
            XmlDocument xmlDocument = new SafeXmlDocument();

            try
            {
                xmlDocument.LoadXml(responseXml);
            }
            catch (Exception innerException)
            {
                throw new PswsProxyException(Strings.PswsResponseIsnotXMLError(responseXml), innerException);
            }
            ResponseContent     responseContent        = new ResponseContent();
            XmlNamespaceManager pswsNamespaceManager   = ObjectTransfer.GetPswsNamespaceManager(xmlDocument);
            XmlElement          xmlElementMustExisting = ObjectTransfer.GetXmlElementMustExisting(xmlDocument, "/rt:entry/rt:content/m:properties", pswsNamespaceManager);

            responseContent.Id             = ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "ID").InnerText;
            responseContent.Command        = ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "Command").InnerText;
            responseContent.Status         = (ExecutionStatus)Enum.Parse(typeof(ExecutionStatus), ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "Status").InnerText);
            responseContent.OutputXml      = ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "Output").InnerText;
            responseContent.Error          = ObjectTransfer.GetErrorRecord(ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "Errors"));
            responseContent.ExpirationTime = DateTime.Parse(ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "ExpirationTime").InnerText);
            responseContent.WaitMsec       = int.Parse(ObjectTransfer.GetChildXmlElementMustExisting(xmlElementMustExisting, "WaitMsec").InnerText);
            return(responseContent);
        }
 // Token: 0x060007A3 RID: 1955 RVA: 0x0001C5B8 File Offset: 0x0001A7B8
 private static ResponseErrorDetail GetErrorDetails(XmlElement xmlElement)
 {
     return(new ResponseErrorDetail
     {
         Message = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "Message").InnerText,
         RecommendedAction = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "RecommendedAction").InnerText
     });
 }
 // Token: 0x060007A2 RID: 1954 RVA: 0x0001C534 File Offset: 0x0001A734
 private static ResponseCategoryInfo GetCategoryInfo(XmlElement xmlElement)
 {
     return(new ResponseCategoryInfo
     {
         Activity = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "Activity").InnerText,
         Category = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "Category").InnerText,
         Reason = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "Reason").InnerText,
         TargetName = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "TargetName").InnerText,
         TargetType = ObjectTransfer.GetChildXmlElementMustExisting(xmlElement, "TargetType").InnerText
     });
 }
        // Token: 0x060007A1 RID: 1953 RVA: 0x0001C4B4 File Offset: 0x0001A6B4
        private static ResponseErrorRecord GetErrorRecord(XmlElement xmlElement)
        {
            XmlElement childXmlElement = ObjectTransfer.GetChildXmlElement(xmlElement, "element");

            if (childXmlElement == null)
            {
                return(null);
            }
            return(new ResponseErrorRecord
            {
                FullyQualifiedErrorId = ObjectTransfer.GetChildXmlElementMustExisting(childXmlElement, "FullyQualifiedErrorId").InnerText,
                CategoryInfo = ObjectTransfer.GetCategoryInfo(ObjectTransfer.GetChildXmlElementMustExisting(childXmlElement, "CategoryInfo")),
                ErrorDetail = ObjectTransfer.GetErrorDetails(ObjectTransfer.GetChildXmlElementMustExisting(childXmlElement, "ErrorDetails")),
                Exception = ObjectTransfer.GetChildXmlElementMustExisting(childXmlElement, "Exception").InnerText
            });
        }