Ejemplo n.º 1
0
        /// <summary>
        /// Invokes the pipeline asynchronously.
        /// </summary>
        /// <param name="executionContext">Request context</param>
        /// <returns>Response context</returns>
        public System.Threading.Tasks.Task <T> InvokeAsync <T>(IExecutionContext executionContext)
            where T : AmazonWebServiceResponse, new()
        {
            ThrowIfDisposed();

            return(_handler.InvokeAsync <T>(executionContext));
        }
Ejemplo n.º 2
0
        public async Task <IResponseContext> InvokeAsync(IExecutionContext executionContext)
        {
            ThrowIfDisposed();

            await _handler.InvokeAsync(executionContext).ConfigureAwait(false);

            return(executionContext.ResponseContext);
        }
Ejemplo n.º 3
0
 public IAsyncResult InvokeAsync(IAsyncExecutionContext executionContext)
 {
     ThrowIfDisposed();
     return(_handler.InvokeAsync(executionContext));
 }