System.Threading.ExecutionContext.IsFlowSuppressed Method

Indicates whether the flow of the execution context is currently suppressed.

Syntax

public static bool IsFlowSuppressed ()

Returns

true if the flow is suppressed; otherwise, false.

Remarks

The ExecutionContext.IsFlowSuppressed method is used by infrastructure components to determine whether to transfer the System.Threading.ExecutionContext during asynchronous operations.

Requirements

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