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

DescribeNFSFileSharesAsync() public method

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

            return InvokeAsync<DescribeNFSFileSharesRequest,DescribeNFSFileSharesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonStorageGatewayClient