TryReadCurrentXmlElement method

Future<bool> TryReadCurrentXmlElement(
  1. EwsXmlReader reader
)
Tries to read the current XML element. The reader.

Implementation

Future<bool> TryReadCurrentXmlElement(EwsXmlReader reader) async {
  if (reader.LocalName == XmlElementNames.Error) {
    this._error = await AutodiscoverError.Parse(reader);

    return true;
  } else {
    return false;
  }
}