/// <summary> /// Placeholder for batch operations. This is just being used for testing. /// </summary> /// <param name="cancellationToken"></param> /// <returns></returns> public virtual async Task <Response <List <Response> > > SubmitBatchAsync(CancellationToken cancellationToken = default) { using DiagnosticScope scope = _diagnostics.CreateScope($"{nameof(TableClient)}.{nameof(SubmitBatch)}"); scope.Start(); try { return(await _tableOperations.SendBatchRequestAsync(_tableOperations.CreateBatchRequest(_batch, null, null), cancellationToken).ConfigureAwait(false)); } catch (Exception ex) { scope.Failed(ex); throw; } }