コード例 #1
0
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal GetRoomsResponse Execute()
        {
            GetRoomsResponse serviceResponse = (GetRoomsResponse)this.InternalExecute();

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