Amazon.EC2.AmazonEC2Client.DescribeSnapshotsAsync C# (CSharp) Méthode

DescribeSnapshotsAsync() public méthode

Initiates the asynchronous execution of the DescribeSnapshots operation.
public DescribeSnapshotsAsync ( DescribeSnapshotsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeSnapshotsRequest Container for the necessary parameters to execute the DescribeSnapshots operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<DescribeSnapshotsResponse> DescribeSnapshotsAsync(DescribeSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeSnapshotsRequestMarshaller();
            var unmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeSnapshotsRequest,DescribeSnapshotsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

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