System.Threading.ExecutionContext.RestoreFlow Method

Restores the flow of the execution context across asynchronous threads.

Syntax

public static void RestoreFlow ()

Remarks

ExecutionContext.RestoreFlow reverses the effect of a prior ExecutionContext.SuppressFlow method call.

This method is called by the AsyncFlowControl.Undo method of the System.Threading.AsyncFlowControl structure returned by the ExecutionContext.SuppressFlow method. You should use the AsyncFlowControl.Undo method to restore the flow of the execution context, not the ExecutionContext.RestoreFlow method.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0