SecurityContext.IsFlowSuppressed Method

Definition

Determines whether the flow of the security context has been 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 has been suppressed; otherwise, false.

Exceptions

.NET 5+ (including .NET Core): In all cases.

Remarks

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

Applies to