public virtual async Task <Response <TableItem> > CreateTableAsync(string tableName, CancellationToken cancellationToken = default)
        {
            var response = await _tableOperations.CreateAsync(new TableProperties(tableName), null, queryOptions : new QueryOptions {
                Format = _format
            }, cancellationToken : cancellationToken).ConfigureAwait(false);

            return(Response.FromValue(response.Value as TableItem, response.GetRawResponse()));
        }
예제 #2
0
 public virtual async Task <TableResponse> CreateAsync(CancellationToken cancellationToken = default) =>
 await _tableOperations.CreateAsync(new TableProperties(_table), null, new QueryOptions { Format = _format }, cancellationToken : cancellationToken).ConfigureAwait(false);