System.Runtime.ExceptionServices.ExceptionDispatchInfo Class

Represents an exception whose state is captured at a certain point in code.

See Also: ExceptionDispatchInfo Members


public sealed class ExceptionDispatchInfo


The System.Runtime.ExceptionServices.ExceptionDispatchInfo object stores the stack trace information and Watson information that the exception contains at the point where it is captured. The exception can be thrown at another time and possibly on another thread by calling the ExceptionDispatchInfo.Throw method. The exception is thrown as if it had flowed from the point where it was captured to the point where the ExceptionDispatchInfo.Throw method is called.

System.Runtime.ExceptionServices.ExceptionDispatchInfo cannot be serialized and is not intended to cross application domain boundaries.


Namespace: System.Runtime.ExceptionServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: