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

CreateTapesAsync() public method

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

            return InvokeAsync<CreateTapesRequest,CreateTapesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient