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,
You can't do that. throw always resets the stack trace, unless used without parameter. I'm afraid your callers will have to use the InnerException...
throw