Duplicate of: In C#, how can I rethrow InnerException without losing stack trace?
I have some operations that I invoke asynchronously on a background thread. Sometimes,
It is possible with .net 4.5:
catch(Exception e) { ExceptionDispatchInfo.Capture(e.InnerException).Throw(); }