Provides the functionality to restore the migration, or flow, of the execution context between threads.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|Dispose||Releases all resources used by the current instance of the class.|
|Equals(AsyncFlowControl)||Determines whether the specified structure is equal to the current structure.|
|Equals(Object)||Determines whether the specified object is equal to the current structure. (Overrides ValueType.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Gets a hash code for the current structure. (Overrides ValueType.GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns the fully qualified type name of this instance. (Inherited from ValueType.)|
|Undo||Restores the flow of the execution context between threads.|
An execution context contains all execution-related information for a logical thread. The flow of the execution context to other threads can be prevented by using the ExecutionContext.SuppressFlow method, which returns an structure. The Undo method of the returned structure can be used to undo the flow suppression. The structure must be used on the same thread on which it was created.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.