SecurityContext.IsWindowsIdentityFlowSuppressed Méthode

Définition

Détermine si le flux de la partie d’identité Windows du contexte de sécurité actuel a été supprimé.

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

Retours

true si le flux a été supprimé ; sinon, false.

Exceptions

.NET 5+ (y compris .NET Core) : dans tous les cas.

Remarques

La méthode IsWindowsIdentityFlowSuppressed est utilisée par les composants d’infrastructure pour déterminer s’il faut transférer les informations d’identité Windows lorsque le SecurityContext migre pendant les opérations asynchrones.

S’applique à