why the exception is not caught?
- by Álvaro García
I have the following code:
List<MyEntity> lstAllMyRecords = miDbContext.MyEntity.ToList<MyEntity>();
foreach MyEntity iterator in lstMainRecord)
{
tasks.Add(
TaskEx.Run(() =>
{
try
{
checkData(lstAllMyRecords.Where(n => n.IDReference ==…