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

CreateTapeWithBarcodeAsync() public method

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

            return InvokeAsync<CreateTapeWithBarcodeRequest,CreateTapeWithBarcodeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient