Amazon.DynamoDBv2.DocumentModel.Table.DeleteItemAsync C# (CSharp) Method

DeleteItemAsync() public method

Initiates the asynchronous execution of the DeleteItem operation.
public DeleteItemAsync ( Document document, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
document Document Document to delete.
callback AmazonDynamoDBCallback The callback that will be invoked when the asynchronous operation completes.
asyncOptions Amazon.Runtime.AsyncOptions An instance of AsyncOptions that specifies how the async method should be executed.
return void
        public void DeleteItemAsync(Document document,
            AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null)
        {
            asyncOptions = asyncOptions ?? new AsyncOptions();
            DynamoDBAsyncExecutor.ExecuteAsync(
                () => { DeleteHelper(MakeKey(document), null, true); },
                asyncOptions,
                callback);
        }

Same methods

Table::DeleteItemAsync ( Document document, DeleteItemOperationConfig config, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
Table::DeleteItemAsync ( DynamoDBEntry>.IDictionary key, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
Table::DeleteItemAsync ( DynamoDBEntry>.IDictionary key, DeleteItemOperationConfig config, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
Table::DeleteItemAsync ( Primitive hashKey, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
Table::DeleteItemAsync ( Primitive hashKey, DeleteItemOperationConfig config, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
Table::DeleteItemAsync ( Primitive hashKey, Primitive rangeKey, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
Table::DeleteItemAsync ( Primitive hashKey, Primitive rangeKey, DeleteItemOperationConfig config, AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void