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

AddWorkingStorageAsync() public method

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

            return InvokeAsync<AddWorkingStorageRequest,AddWorkingStorageResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient