AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
Initiates the asynchronous execution of the DeleteItem operation. Amazon.DynamoDBv2.DocumentModel.Table.DeleteItem(Amazon.DynamoDBv2.DocumentModel.Document,Amazon.DynamoDBv2.DocumentModel.DeleteItemOperationConfig)

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: (assembly version)


public Task<Document> DeleteItemAsync(
         Primitive hashKey,
         DeleteItemOperationConfig config,
         CancellationToken cancellationToken


Type: Amazon.DynamoDBv2.DocumentModel.Primitive

Hash key element of the document.

Type: Amazon.DynamoDBv2.DocumentModel.DeleteItemOperationConfig

Configuration to use.

Type: System.Threading.CancellationToken

Token which can be used to cancel the task.

Return Value
Task<Amazon.DynamoDBv2.DocumentModel.Document> A Task that can be used to poll or wait for results, or both.

Version Information

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8