WriteBodyToXml method

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

Implementation

void WriteBodyToXml(EwsServiceXmlWriter writer) {
  writer.WriteStartElement(
      XmlNamespace.Autodiscover, this.GetRequestXmlElementName());
  this.WriteAttributesToXml(writer);
  this.WriteElementsToXml(writer);

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