﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ExceptionDispatchInfo" FullName="System.Runtime.ExceptionServices.ExceptionDispatchInfo"><TypeSignature Language="C#" Value="public sealed class ExceptionDispatchInfo" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ExceptionDispatchInfo extends System.Object" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T: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 <see cref="M:System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw" /> method. The exception is thrown as if it had flowed from the point where it was captured to the point where the <see cref="M:System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw" /> method is called.</para><para><see cref="T:System.Runtime.ExceptionServices.ExceptionDispatchInfo" /> cannot be serialized and is not intended to cross application domain boundaries. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents an exception whose state is captured at a certain point in code. </para></summary></Docs><Members><Member MemberName="Capture"><MemberSignature Language="C#" Value="public static System.Runtime.ExceptionServices.ExceptionDispatchInfo Capture (Exception source);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Runtime.ExceptionServices.ExceptionDispatchInfo Capture(class System.Exception source) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Runtime.ExceptionServices.ExceptionDispatchInfo</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Exception" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You can use the <see cref="T:System.Runtime.ExceptionServices.ExceptionDispatchInfo" /> 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. </para><para>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. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates an <see cref="T:System.Runtime.ExceptionServices.ExceptionDispatchInfo" /> object that represents the specified exception at the current point in code. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An object that represents the specified exception at the current point in code. </para></returns><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The exception whose state is captured, and which is represented by the returned object. </param></Docs></Member><Member MemberName="SourceException"><MemberSignature Language="C#" Value="public Exception SourceException { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Exception SourceException" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Exception</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property is used by the Task Parallel Library, for example, to combine multiple exceptions in an <see cref="T:System.AggregateException" /> object. It is not intended to be used by application code. Use the <see cref="M:System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw" /> method to restore the state of the captured exception and throw it. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the exception that is represented by the current instance. </para></summary></Docs></Member><Member MemberName="Throw"><MemberSignature Language="C#" Value="public void Throw ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Throw() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>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.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Throws the exception that is represented by the current <see cref="T:System.Runtime.ExceptionServices.ExceptionDispatchInfo" /> object, after restoring the state that was saved when the exception was captured. </para></summary></Docs></Member></Members></Type>