コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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);
        }
コード例 #3
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal FindPeopleResponse Execute()
        {
            FindPeopleResponse serviceResponse = (FindPeopleResponse)this.InternalExecute();

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
コード例 #4
0
 /// <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;
 }