Amazon.EC2.AmazonEC2Client.DescribeSpotPriceHistoryAsync C# (CSharp) Method

DescribeSpotPriceHistoryAsync() public method

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

            return InvokeAsync<DescribeSpotPriceHistoryRequest,DescribeSpotPriceHistoryResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonEC2Client::DescribeSpotPriceHistoryAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonEC2Client