SecurityContext.IsWindowsIdentityFlowSuppressed 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定当前安全上下文中Windows标识部分的流是否已取消。
public:
static bool IsWindowsIdentityFlowSuppressed();
public static bool IsWindowsIdentityFlowSuppressed();
static member IsWindowsIdentityFlowSuppressed : unit -> bool
Public Shared Function IsWindowsIdentityFlowSuppressed () As Boolean
返回
true 如果流已被禁止,则为否则,为 false.
例外
.NET 5+ (包括.NET核心):在所有情况下。
注解
基础结构组件使用 IsWindowsIdentityFlowSuppressed 方法来确定在异步操作期间SecurityContext迁移时是否传输Windows标识信息。