Initiates the asynchronous execution of the DeleteItem operation.
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public Task<Document> DeleteItemAsync(
Document document,
DeleteItemOperationConfig config,
CancellationToken cancellationToken
)
Parameters
- document
-
Type: Amazon.DynamoDBv2.DocumentModel.Document
Document to delete.
- config
-
Type: Amazon.DynamoDBv2.DocumentModel.DeleteItemOperationConfig
Configuration to use.
- cancellationToken
-
Type: System.Threading.CancellationToken
Token which can be used to cancel the task.
Return Value
System.Threading.Tasks.Task`1[[Amazon.DynamoDBv2.DocumentModel.Document, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] A Task that can be used to poll or wait for results, or both.
System.Threading.Tasks.Task`1[[Amazon.DynamoDBv2.DocumentModel.Document, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] A Task that can be used to poll or wait for results, or both.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8