Amazon.SQS.AmazonSQSClient.BeginPurgeQueue C# (CSharp) Méthode

BeginPurgeQueue() public méthode

Initiates the asynchronous execution of the PurgeQueue operation.
public BeginPurgeQueue ( PurgeQueueRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.SQS.Model.PurgeQueueRequest Container for the necessary parameters to execute the PurgeQueue operation on AmazonSQSClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Résultat IAsyncResult
        public IAsyncResult BeginPurgeQueue(PurgeQueueRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new PurgeQueueRequestMarshaller();
            var unmarshaller = PurgeQueueResponseUnmarshaller.Instance;

            return BeginInvoke<PurgeQueueRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonSQSClient