LoadFromXml method

Future<AutodiscoverResponse> LoadFromXml(
  1. EwsXmlReader reader
)
Loads responses from XML. The reader.

Implementation

Future<AutodiscoverResponse> LoadFromXml(EwsXmlReader reader) async {
  String elementName = this.GetResponseXmlElementName();
  await reader.ReadStartElementWithNamespace(
      XmlNamespace.Autodiscover, elementName);
  AutodiscoverResponse response = this.CreateServiceResponse();
  await response.LoadFromXml(reader, elementName);
  return response;
}