/// <summary> /// Parses the response. /// </summary> /// <param name="reader">The reader.</param> /// <returns>Response object.</returns> internal override object ParseResponse(EwsServiceXmlReader reader) { FindPeopleResponse response = new FindPeopleResponse(); response.LoadFromXml(reader, XmlElementNames.FindPeopleResponse); return(response); }
/// <summary> /// Executes this request. /// </summary> /// <returns>Service response.</returns> internal async Task <FindPeopleResponse> Execute() { FindPeopleResponse serviceResponse = (FindPeopleResponse)await this.InternalExecuteAsync().ConfigureAwait(false); serviceResponse.ThrowIfNecessary(); return(serviceResponse); }
/// <summary> /// Executes this request. /// </summary> /// <returns>Service response.</returns> internal FindPeopleResponse Execute() { FindPeopleResponse serviceResponse = (FindPeopleResponse)this.InternalExecute(); serviceResponse.ThrowIfNecessary(); return(serviceResponse); }
/// <summary> /// Parses the response. /// </summary> /// <param name="reader">The reader.</param> /// <returns>Response object.</returns> internal override object ParseResponse(EwsServiceXmlReader reader) { FindPeopleResponse response = new FindPeopleResponse(); response.LoadFromXml(reader, XmlElementNames.FindPeopleResponse); return response; }