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

DeleteSnapshotAsync() public method

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

            return InvokeAsync<DeleteSnapshotRequest,DeleteSnapshotResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client