ParseResponse method

  1. @override
Object ParseResponse(
  1. EwsServiceXmlReader reader
)
override
Parses the response. The reader.

Implementation

@override
Object ParseResponse(EwsServiceXmlReader reader) {
  reader.ReadStartElementWithNamespace(
      XmlNamespace.Messages, XmlElementNames.ResponseMessages);

  GetStreamingEventsResponse response = new GetStreamingEventsResponse(this);
  response.LoadFromXml(
      reader, XmlElementNames.GetStreamingEventsResponseMessage);

  reader.ReadEndElementIfNecessary(
      XmlNamespace.Messages, XmlElementNames.ResponseMessages);

  return response;
}