Amazon.SQS.AmazonSQSClient.ListDeadLetterSourceQueuesAsync C# (CSharp) Метод

ListDeadLetterSourceQueuesAsync() публичный Метод

Initiates the asynchronous execution of the ListDeadLetterSourceQueues operation.
public ListDeadLetterSourceQueuesAsync ( ListDeadLetterSourceQueuesRequest request, ListDeadLetterSourceQueuesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
request Amazon.SQS.Model.ListDeadLetterSourceQueuesRequest Container for the necessary parameters to execute the ListDeadLetterSourceQueues operation on AmazonSQSClient.
callback ListDeadLetterSourceQueuesResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options Amazon.Runtime.AsyncOptions A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат void
        public void ListDeadLetterSourceQueuesAsync(ListDeadLetterSourceQueuesRequest request, AmazonServiceCallback<ListDeadLetterSourceQueuesRequest, ListDeadLetterSourceQueuesResponse> callback, AsyncOptions options = null)
        {
            options = options == null?new AsyncOptions():options;
            var marshaller = new ListDeadLetterSourceQueuesRequestMarshaller();
            var unmarshaller = ListDeadLetterSourceQueuesResponseUnmarshaller.Instance;
            Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
            if(callback !=null )
                callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { 
                    AmazonServiceResult<ListDeadLetterSourceQueuesRequest,ListDeadLetterSourceQueuesResponse> responseObject 
                            = new AmazonServiceResult<ListDeadLetterSourceQueuesRequest,ListDeadLetterSourceQueuesResponse>((ListDeadLetterSourceQueuesRequest)req, (ListDeadLetterSourceQueuesResponse)res, ex , ao.State);    
                        callback(responseObject); 
                };
            BeginInvoke<ListDeadLetterSourceQueuesRequest>(request, marshaller, unmarshaller, options, callbackHelper);
        }

Same methods

AmazonSQSClient::ListDeadLetterSourceQueuesAsync ( ListDeadLetterSourceQueuesRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonSQSClient