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