HttpListener.ExtendedProtectionPolicy 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于会话的扩展保护的 ExtendedProtectionPolicy。
public:
property System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ ExtendedProtectionPolicy { System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ get(); void set(System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ value); };
public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionPolicy { get; [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] set; }
public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionPolicy { get; set; }
[<set: System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy with get, set
member this.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy with get, set
Public Property ExtendedProtectionPolicy As ExtendedProtectionPolicy
属性值
一个 ExtendedProtectionPolicy,它指定要用于扩展保护的策略。
- 属性
例外
尝试设置 ExtendedProtectionPolicy 属性,但 CustomChannelBinding 属性不是 null
。
尝试将 ExtendedProtectionPolicy 属性设置为 null
。
尝试在调用 ExtendedProtectionPolicy 方法后设置 Start() 属性。
此对象已关闭。
PolicyEnforcement 属性设置为平台上的 Always,其不支持扩展的保护。
注解
属性ExtendedProtectionPolicy与集成Windows 身份验证一起使用,以提供扩展保护。 属性 ExtendedProtectionPolicy 允许为整个 HttpListener 会话配置扩展保护策略。 属性 ExtendedProtectionSelectorDelegate 允许为每个单独的请求配置扩展保护策略。
CustomChannelBinding 属性必须为 null
。 实例 HttpListener 直接从其自己的 TLS 会话获取通道绑定令牌 (CBT) (如果有)。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈