/// <summary>
 /// Delete the specified azure storage table
 /// </summary>
 /// <param name="table">Cloud table object</param>
 /// <param name="requestOptions">Table request options</param>
 /// <param name="operationContext">Operation context</param>
 public void Delete(CloudTable table, TableRequestOptions requestOptions, OperationContext operationContext)
 {
     Task.Run(() => table.DeleteAsync(requestOptions, operationContext)).Wait();
 }
Esempio n. 2
0
 public Task DeleteAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
 {
     return(cloudTableImpl.DeleteAsync(requestOptions, operationContext, cancellationToken));
 }
Esempio n. 3
0
 public static Task DeleteAsync(this CloudTable tbl, CancellationToken token)
 {
     return(tbl.DeleteAsync(null, null, token));
 }
Esempio n. 4
0
 public void Delete()
 {
     table.DeleteAsync().Wait();
 }
Esempio n. 5
0
 public async Task DisposeAsync()
 => await _tableReference.DeleteAsync();