Düzenle

Aracılığıyla paylaş


SecurityContext.IsWindowsIdentityFlowSuppressed Method

Definition

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.

Applies to