LoadFromXml method

Future<void> LoadFromXml(
  1. EwsServiceXmlReader reader
)
Loads from XML. The reader.

Implementation

Future<void> LoadFromXml(EwsServiceXmlReader reader) async {
  this._id = await reader.ReadElementValueWithNamespace(
      XmlNamespace.Messages, XmlElementNames.SubscriptionId);

  if (this.UsesWatermark) {
    this._watermark = await reader.ReadElementValueWithNamespace(
        XmlNamespace.Messages, XmlElementNames.Watermark);
  }
}