/// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal FindConversationResponse Execute()
        {
            FindConversationResponse serviceResponse = (FindConversationResponse)this.InternalExecute();

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
        /// <summary>
        /// Parses the response.
        /// </summary>
        /// <param name="jsonBody">The json body.</param>
        /// <returns>Response object.</returns>
        internal override object ParseResponse(JsonObject jsonBody)
        {
            FindConversationResponse serviceResponse = new FindConversationResponse();

            serviceResponse.LoadFromJson(jsonBody, this.Service);
            return(serviceResponse);
        }
        /// <summary>
        /// Parses the response.
        /// </summary>
        /// <param name="reader">The reader.</param>
        /// <returns>Response object.</returns>
        internal override object ParseResponse(EwsServiceXmlReader reader)
        {
            FindConversationResponse response = new FindConversationResponse();

            response.LoadFromXml(reader, XmlElementNames.FindConversationResponse);
            return(response);
        }
示例#4
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <FindConversationResponse> Execute()
        {
            FindConversationResponse serviceResponse = (FindConversationResponse)await this.InternalExecuteAsync().ConfigureAwait(false);

            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)
 {
     FindConversationResponse response = new FindConversationResponse();
     response.LoadFromXml(reader, XmlElementNames.FindConversationResponse);
     return response;
 }