Rediger

Del via


Exception.PrepForRemoting Method

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();

Returns

Exception
This Exception instance.

Remarks

Warning

The 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.

Requirements

Namespace: System

Assembly: mscorlib.dll (in mscorlib.dll)

.NET Framework versions: Available since 1.0.