Preserves the server-side stack trace by appending it to the message before the exception is rethrown at the client call site.
internal Exception PrepForRemoting();
Exception.PrepForRemoting method is internal and is not meant to be used directly in your code.
Microsoft does not support the use of this method in a production application under any circumstance.
Assembly: mscorlib.dll (in mscorlib.dll)
.NET Framework versions: Available since 1.0.