if I have a dispatcher invoking in background like this:
Application.Current.Dispatcher.BeginInvoke(new Action(() => MethodToCall()), DispatcherPriority.Background);
Should I have wrap the code above inside a Try & catch or place the try & catch inside the MethodToCall() method?
Many Thanks,
If you really have a case for catching a specific exception then the
try { } catchshould be placed insideMethodToCall.