// Token: 0x06000C3F RID: 3135 RVA: 0x000403BC File Offset: 0x0003E5BC public void BuildErrorResponse(string statusCode, XmlNode responseNode, ProtocolLogger protocolLogger) { if (protocolLogger != null) { protocolLogger.IncrementValue(ProtocolLoggerData.IOFetchItemErrors); } XmlNode xmlNode = responseNode.OwnerDocument.CreateElement("Fetch", "ItemOperations:"); XmlNode xmlNode2 = responseNode.OwnerDocument.CreateElement("Status", "ItemOperations:"); xmlNode2.InnerText = statusCode; xmlNode.AppendChild(xmlNode2); if (!string.IsNullOrEmpty(this.longId)) { XmlNode xmlNode3 = responseNode.OwnerDocument.CreateElement("LongId", "Search:"); xmlNode3.InnerText = this.longId; xmlNode.AppendChild(xmlNode3); } if (!string.IsNullOrEmpty(this.collectionId)) { XmlNode xmlNode4 = responseNode.OwnerDocument.CreateElement("CollectionId", "AirSync:"); xmlNode4.InnerText = this.collectionId; xmlNode.AppendChild(xmlNode4); } if (!string.IsNullOrEmpty(this.serverId)) { XmlNode xmlNode5 = responseNode.OwnerDocument.CreateElement("ServerId", "AirSync:"); xmlNode5.InnerText = this.serverId; xmlNode.AppendChild(xmlNode5); } responseNode.AppendChild(xmlNode); }
public void BuildErrorResponse(string statusCode, XmlNode responseNode, ProtocolLogger protocolLogger) { if (protocolLogger != null) { protocolLogger.IncrementValue(ProtocolLoggerData.IOMoveErrors); } this.BuildResponseWithStatus(statusCode, responseNode); }
// Token: 0x0600075E RID: 1886 RVA: 0x00028EA8 File Offset: 0x000270A8 public void BuildErrorResponse(string statusCode, XmlNode responseNode, ProtocolLogger protocolLogger) { if (protocolLogger != null) { protocolLogger.IncrementValue(ProtocolLoggerData.IOEmptyFolderContentsErrors); } XmlNode xmlNode = responseNode.OwnerDocument.CreateElement("EmptyFolderContents", "ItemOperations:"); XmlNode xmlNode2 = responseNode.OwnerDocument.CreateElement("Status", "ItemOperations:"); xmlNode2.InnerText = statusCode; xmlNode.AppendChild(xmlNode2); if (!string.IsNullOrEmpty(this.folderId)) { XmlNode xmlNode3 = responseNode.OwnerDocument.CreateElement("CollectionId", "AirSync:"); xmlNode3.InnerText = this.folderId; xmlNode.AppendChild(xmlNode3); } responseNode.AppendChild(xmlNode); }
// Token: 0x0600074F RID: 1871 RVA: 0x00028B20 File Offset: 0x00026D20 public void BuildErrorResponse(string statusCode, XmlNode responseNode, ProtocolLogger protocolLogger) { if (protocolLogger != null) { protocolLogger.IncrementValue(ProtocolLoggerData.IOFetchDocErrors); } XmlNode xmlNode = responseNode.OwnerDocument.CreateElement("Fetch", "ItemOperations:"); XmlNode xmlNode2 = responseNode.OwnerDocument.CreateElement("Status", "ItemOperations:"); xmlNode2.InnerText = statusCode; xmlNode.AppendChild(xmlNode2); if (!string.IsNullOrEmpty(this.linkId)) { XmlNode xmlNode3 = responseNode.OwnerDocument.CreateElement("LinkId", "DocumentLibrary:"); xmlNode3.InnerText = this.linkId; xmlNode.AppendChild(xmlNode3); } responseNode.AppendChild(xmlNode); }
public void BuildErrorResponse(string statusCode, XmlNode responseNode, ProtocolLogger protocolLogger) { if (protocolLogger != null) { protocolLogger.IncrementValue(ProtocolLoggerData.IOFetchAttErrors); } XmlNode xmlNode = responseNode.OwnerDocument.CreateElement("Fetch", "ItemOperations:"); XmlNode xmlNode2 = responseNode.OwnerDocument.CreateElement("Status", "ItemOperations:"); xmlNode2.InnerText = statusCode; xmlNode.AppendChild(xmlNode2); if (!string.IsNullOrEmpty(this.FileReference)) { XmlNode xmlNode3 = responseNode.OwnerDocument.CreateElement("FileReference", "AirSyncBase:"); xmlNode3.InnerText = this.FileReference; xmlNode.AppendChild(xmlNode3); } responseNode.AppendChild(xmlNode); }