Amazon.StorageGateway.AmazonStorageGatewayClient.ListTapesAsync C# (CSharp) Method

ListTapesAsync() public method

Initiates the asynchronous execution of the ListTapes operation.
public ListTapesAsync ( ListTapesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ListTapesRequest Container for the necessary parameters to execute the ListTapes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListTapesResponse> ListTapesAsync(ListTapesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListTapesRequestMarshaller();
            var unmarshaller = ListTapesResponseUnmarshaller.Instance;

            return InvokeAsync<ListTapesRequest,ListTapesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient