Exemplo n.º 1
0
        public virtual async Task <Response> DeleteAsync(string partitionKey, string rowKey, string eTag = "*", CancellationToken cancellationToken = default)
        {
            Argument.AssertNotNull(partitionKey, nameof(partitionKey));
            Argument.AssertNotNull(rowKey, nameof(rowKey));

            return(await _tableOperations.DeleteEntityAsync(_table,
                                                            partitionKey,
                                                            rowKey,
                                                            ifMatch : eTag,
                                                            queryOptions : new QueryOptions()
            {
                Format = _format
            },
                                                            cancellationToken : cancellationToken).ConfigureAwait(false));
        }