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

AddCacheAsync() public method

Initiates the asynchronous execution of the AddCache operation.
public AddCacheAsync ( AddCacheRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.StorageGateway.Model.AddCacheRequest Container for the necessary parameters to execute the AddCache operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AddCacheResponse> AddCacheAsync(AddCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AddCacheRequestMarshaller();
            var unmarshaller = AddCacheResponseUnmarshaller.Instance;

            return InvokeAsync<AddCacheRequest,AddCacheResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient