mscorlib 4.0.0.0 System.Object

The 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 method. The exception is thrown as if it had flowed from the point where it was captured to the point where the method is called.

cannot be serialized and is not intended to cross application domain boundaries.

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

- Method
  4.0.0.0
  System.Runtime.ExceptionServices.ExceptionDispatchInfo ``

  You can use the object that is returned by this method at another time and possibly on another thread to rethrow the specified exception, as if the exception had flowed from this point where it was captured to the point where it is rethrown.

  If the exception is active when it is captured, the current stack trace information and Watson information that is contained in the exception is stored. If it is inactive, that is, if it has not been thrown, it will not have any stack trace information or Watson information.

  Creates an object that represents the specified exception at the current point in code.

  An object that represents the specified exception at the current point in code.

  The exception whose state is captured, and which is represented by the returned object.
- Property
  4.0.0.0
  System.Exception To be added.

  This property is used by the Task Parallel Library, for example, to combine multiple exceptions in an object. It is not intended to be used by application code. Use the method to restore the state of the captured exception and throw it.

  Gets the exception that is represented by the current instance.

- Method
  4.0.0.0
  System.Void

  When the exception is restored, the following string is inserted in the stack trace to indicate the restore point: "End of stack trace from the previous location where the exception was thrown". This is similar to the way inner exceptions or marshaled exceptions are indicated in stack traces.

  Throws the exception that is represented by the current object, after restoring the state that was saved when the exception was captured.