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