WriteBodyToXml method

void WriteBodyToXml(
  1. EwsServiceXmlWriter writer
)
Writes XML body. The writer.

Implementation

void WriteBodyToXml(EwsServiceXmlWriter writer) {
  writer.WriteStartElement(XmlNamespace.Messages, this.GetXmlElementName());

  this.WriteAttributesToXml(writer);
  this.WriteElementsToXml(writer);

  writer.WriteEndElement(); // m:this.GetXmlElementName()
}