SecurityContext.IsWindowsIdentityFlowSuppressed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the flow of the Windows identity portion of the current security context has been suppressed.
public:
static bool IsWindowsIdentityFlowSuppressed();
public static bool IsWindowsIdentityFlowSuppressed ();
static member IsWindowsIdentityFlowSuppressed : unit -> bool
Public Shared Function IsWindowsIdentityFlowSuppressed () As Boolean
Returns
true
if the flow has been suppressed; otherwise, false
.
Exceptions
.NET 5+ (including .NET Core): In all cases.
Remarks
The IsWindowsIdentityFlowSuppressed method is used by infrastructure components to determine whether to transfer the Windows identity information when the SecurityContext migrates during asynchronous operations.