Difference between Throw and Throw ex

Throw In Throw, the original exception stack trace will be retained. Throw ex In Throw ex, the original stack trace information will get override and you will lose the original exception stack trace. I.e. 'throw ex' resets the stack trace.

results matching ""

    No results matching ""