Amazon.Glacier.AmazonGlacierClient.DeleteArchiveAsync C# (CSharp) Method

DeleteArchiveAsync() public method

Initiates the asynchronous execution of the DeleteArchive operation.
public DeleteArchiveAsync ( DeleteArchiveRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Glacier.Model.DeleteArchiveRequest Container for the necessary parameters to execute the DeleteArchive operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DeleteArchiveResponse> DeleteArchiveAsync(DeleteArchiveRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DeleteArchiveRequestMarshaller();
            var unmarshaller = DeleteArchiveResponseUnmarshaller.Instance;

            return InvokeAsync<DeleteArchiveRequest,DeleteArchiveResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonGlacierClient