Hi, I am trying to add additional data to an exception.
I’ve been looking at this website but cant get it to work when I try to assign it to an exception
I have tried ex.Data.Add(“ErrorInfo”,str_erDet)
and also tried ex[“ExtraInfo”] = str_erDet
but both give error messages (shown below)
any help would be appreciated.
Thanks,
Peter