Redigera

Dela via


ExecutionContext.IsFlowSuppressed Method

Definition

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

public:
 static bool IsFlowSuppressed();
public static bool IsFlowSuppressed ();
static member IsFlowSuppressed : unit -> bool
Public Shared Function IsFlowSuppressed () As Boolean

Returns

true if the flow is suppressed; otherwise, false.

Remarks

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

Applies to