Exemplo n.º 1
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal GetRoomsResponse Execute()
        {
            GetRoomsResponse serviceResponse = (GetRoomsResponse)this.InternalExecute();

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Parses the response.
        /// </summary>
        /// <param name="reader">The reader.</param>
        /// <returns>Response object.</returns>
        internal override object ParseResponse(EwsServiceXmlReader reader)
        {
            GetRoomsResponse response = new GetRoomsResponse();

            response.LoadFromXml(reader, XmlElementNames.GetRoomsResponse);
            return(response);
        }
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <GetRoomsResponse> Execute()
        {
            GetRoomsResponse serviceResponse = (GetRoomsResponse)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)
 {
     GetRoomsResponse response = new GetRoomsResponse();
     response.LoadFromXml(reader, XmlElementNames.GetRoomsResponse);
     return response;
 }