LoadFromXml method
Implementation
Future<void> LoadFromXml(EwsXmlReader reader, String endElementName) async {
switch (reader.LocalName) {
case XmlElementNames.ErrorCode:
this.ErrorCode = await reader.ReadElementValue<AutodiscoverErrorCode>();
break;
case XmlElementNames.ErrorMessage:
this.ErrorMessage = await reader.ReadElementValue<String>();
break;
default:
break;
}
}